mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
improve template : split theme from template itself
rest of the job : template (yoga), themes (clear dark), and php to handle them git-svn-id: http://piwigo.org/svn/trunk@960 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -43,8 +43,7 @@ function get_icon( $date )
|
||||
$title = $lang['recent_image'].' ';
|
||||
if ( $diff < $user['recent_period'] * $day_in_seconds )
|
||||
{
|
||||
$icon_url = './template/'.$user['template'].'/theme/';
|
||||
$icon_url.= 'recent.png';
|
||||
$icon_url = get_themeconf('icon_dir').'/recent.png';
|
||||
$title .= $user['recent_period'];
|
||||
$title .= ' '.$lang['days'];
|
||||
$size = getimagesize( $icon_url );
|
||||
|
||||
Reference in New Issue
Block a user