aboutsummaryrefslogtreecommitdiffstats
path: root/category.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-07-09 21:00:00 +0000
committerz0rglub <z0rglub@piwigo.org>2004-07-09 21:00:00 +0000
commitf007a28bf6a40632e06f227a59f45d525136f9f4 (patch)
tree485c61ab3eb812b1807bd0d40ee682964dd59d1d /category.php
parent2cf37f308e0d530fa642b016dfb4a0db24b5a883 (diff)
replacement of short_period and long_period by recent_period
git-svn-id: http://piwigo.org/svn/trunk@452 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--category.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/category.php b/category.php
index 906082437..ed5889951 100644
--- a/category.php
+++ b/category.php
@@ -160,7 +160,7 @@ if ( isset( $page['cat_nb_images'] ) and $page['cat_nb_images'] > 0 )
$template_title.= ' ['.$page['cat_nb_images'].']';
}
-$icon_short = get_icon( date( 'Y-m-d' ) );
+$icon_recent = get_icon(date('Y-m-d'));
$template->assign_vars(array(
'NB_PICTURE' => count_user_total_images(),
@@ -201,8 +201,7 @@ $template->assign_vars(array(
'F_IDENTIFY' => add_session_id( PHPWG_ROOT_PATH.'identification.php' ),
'T_COLLAPSED' => $user['lien_collapsed'],
- 'T_SHORT' => $icon_short,
- 'T_LONG'=>get_icon(date( 'Y-m-d',time()-($user['short_period']*24*60*60+1))),
+ 'T_RECENT' => $icon_recent,
'U_HOME' => add_session_id( PHPWG_ROOT_PATH.'category.php' ),
'U_FAVORITE' => add_session_id( PHPWG_ROOT_PATH.'category.php?cat=fav' ),