diff options
author | chrisaga <chrisaga@piwigo.org> | 2005-12-03 17:33:38 +0000 |
---|---|---|
committer | chrisaga <chrisaga@piwigo.org> | 2005-12-03 17:33:38 +0000 |
commit | dc3c040399475f7b68497919c39c90adcca4caa5 (patch) | |
tree | 3ccb0c670035f5cf94c6d849b78cb6a926fb2478 /include/functions_html.inc.php | |
parent | 9731fc4ba5593b972aeac5d7f751253c3e82f840 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | include/functions_html.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index c08ca525e..a9dc14294 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -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 ); |