From 273884a65274e2688df1b2d3dc37103a46117772 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 8 Aug 2005 20:52:19 +0000 Subject: - new : external authentication in another users table. Previous users table is divided between users (common properties with any web application) and user_infos (phpwebgallery specific informations). External table and fields can be configured. - modification : profile.php is not reachable through administration anymore (not useful). - modification : in profile.php, current password is mandatory only if user tries to change his password. Username can't be changed. - deletion : of obsolete functions get_user_restrictions, update_user_restrictions, get_user_all_restrictions, is_user_allowed, update_user - modification : $user['forbidden_categories'] equals at least "-1" so that category_id NOT IN ($user['forbidden_categories']) can always be used. - modification : user_forbidden table becomes user_cache so that not only restriction informations can be stored in this table. git-svn-id: http://piwigo.org/svn/trunk@808 68402e56-0260-453c-a942-63ccdbb3a9ee --- category.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'category.php') diff --git a/category.php b/category.php index bc93cdb38..81db39d09 100644 --- a/category.php +++ b/category.php @@ -171,7 +171,7 @@ $template->assign_vars(array( 'U_REGISTER' => add_session_id( PHPWG_ROOT_PATH.'register.php' ), 'U_LOGOUT' => PHPWG_ROOT_PATH.'category.php?act=logout', 'U_ADMIN'=>add_session_id( PHPWG_ROOT_PATH.'admin.php' ), - 'U_PROFILE'=>add_session_id(PHPWG_ROOT_PATH.'profile.php?'.str_replace( '&', '&', $_SERVER['QUERY_STRING'] )), + 'U_PROFILE'=>add_session_id(PHPWG_ROOT_PATH.'profile.php'), 'U_CADDIE'=>add_session_id(PHPWG_ROOT_PATH.'category.php'.get_query_string_diff(array('caddie')).'&caddie=1') ) ); @@ -311,7 +311,7 @@ $template->assign_block_vars( 'TITLE'=>l10n('RSS notification feed'), 'NAME'=>l10n('Notification feed'), 'U_SUMMARY'=> - 'feed.php'.(ANONYMOUS != $user['id'] ? '?feed='.$user['feed_id'] : '') + 'feed.php'.($user['is_the_guest'] ? '?feed='.$user['feed_id'] : '') )); //------------------------------------------------------ main part : thumbnails -- cgit v1.2.3