diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-06-16 20:36:24 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-06-16 20:36:24 +0000 |
commit | ca5cb5bf94b3e6463111c403bf94b20d01fd6bdc (patch) | |
tree | 3bdd4e766e8a6f14c1a4e4203f21aed1fbd31091 /include | |
parent | 3a09e40418f5261f233519510d5ae24abad66108 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | include/functions_category.inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
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']; |