From ca5cb5bf94b3e6463111c403bf94b20d01fd6bdc Mon Sep 17 00:00:00 2001 From: z0rglub Date: Wed, 16 Jun 2004 20:36:24 +0000 Subject: replace recent category by recent_pics (to have a difference with recent_cats) git-svn-id: http://piwigo.org/svn/trunk@434 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_category.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php index 809753726..09a923746 100644 --- a/include/functions_category.inc.php +++ b/include/functions_category.inc.php @@ -96,7 +96,7 @@ function check_cat_id( $cat ) or $cat == 'search' or $cat == 'most_visited' or $cat == 'best_rated' - or $cat == 'recent' + or $cat == 'recent_pics' or $cat == 'calendar' ) { $page['cat'] = $cat; @@ -431,7 +431,7 @@ function initialize_category( $calling_page = 'category' ) { if ( $page['cat'] == 'search' or $page['cat'] == 'most_visited' - or $page['cat'] == 'recent' + or $page['cat'] == 'recent_pics' or $page['cat'] == 'best_rated' or $page['cat'] == 'calendar' ) { @@ -510,9 +510,9 @@ function initialize_category( $calling_page = 'category' ) $query.= ';'; } // pictures within the short period - else if ( $page['cat'] == 'recent' ) + else if ( $page['cat'] == 'recent_pics' ) { - $page['title'] = $lang['recent_cat_title']; + $page['title'] = $lang['recent_pics_cat_title']; // We must find the date corresponding to : // today - $conf['periode_courte'] $date = time() - 60*60*24*$user['short_period']; -- cgit v1.2.3