diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-08-30 22:00:46 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-08-30 22:00:46 +0000 |
commit | 0e2436f50a61f90da22e75085280bf9f2087699a (patch) | |
tree | bac0bec23ab9487453e212e66b5ba527b15c2e60 /category.php | |
parent | 0c482df04e1631e12db1fe99e904d6111b17adf1 (diff) |
add rating feature
git-svn-id: http://piwigo.org/svn/trunk@507 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | category.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/category.php b/category.php index 781d3bda1..9ce531e53 100644 --- a/category.php +++ b/category.php @@ -125,7 +125,7 @@ $template->assign_vars(array( 'NB_PICTURE' => count_user_total_images(), 'TITLE' => $template_title, 'USERNAME' => $user['username'], - 'TOP_VISITED'=>$conf['top_number'], + 'TOP_NUMBER'=>$conf['top_number'], 'MENU_CATEGORIES_CONTENT'=>$page['menu'], 'L_CATEGORIES' => $lang['categories'], @@ -138,6 +138,8 @@ $template->assign_vars(array( 'L_SPECIAL_CATEGORIES' => $lang['special_categories'], 'L_MOST_VISITED_HINT' => $lang['most_visited_cat_hint'], 'L_MOST_VISITED' => $lang['most_visited_cat'], + 'L_BEST_RATED_HINT' => $lang['best_rated_cat_hint'], + 'L_BEST_RATED' => $lang['best_rated_cat'], 'L_RECENT_PICS_HINT' => $lang['recent_pics_cat_hint'], 'L_RECENT_PICS' => $lang['recent_pics_cat'], 'L_RECENT_CATS_HINT' => $lang['recent_cats_cat_hint'], @@ -166,6 +168,7 @@ $template->assign_vars(array( 'U_HOME' => add_session_id( PHPWG_ROOT_PATH.'category.php' ), 'U_FAVORITE' => add_session_id( PHPWG_ROOT_PATH.'category.php?cat=fav' ), 'U_MOST_VISITED'=>add_session_id( PHPWG_ROOT_PATH.'category.php?cat=most_visited' ), + 'U_BEST_RATED'=>add_session_id(PHPWG_ROOT_PATH.'category.php?cat=best_rated'), 'U_RECENT_PICS'=>add_session_id( PHPWG_ROOT_PATH.'category.php?cat=recent_pics' ), 'U_RECENT_CATS'=>add_session_id( PHPWG_ROOT_PATH.'category.php?cat=recent_cats' ), 'U_CALENDAR'=>add_session_id( PHPWG_ROOT_PATH.'category.php?cat=calendar' ), @@ -228,7 +231,8 @@ if (isset($page['cat']) and ((is_numeric($page['cat']) and $page['cat_nb_images'] != 0) or $page['cat'] == 'search' or $page['cat'] == 'most_visited' - or $page['cat'] == 'recent_pics')) + or $page['cat'] == 'recent_pics' + or $page['cat'] == 'best_rated')) { include(PHPWG_ROOT_PATH.'include/category_default.inc.php'); } |