From 4c8d18de5b904eddaa900deca20c7d6f7ac928d1 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 25 Dec 2004 19:33:36 +0000 Subject: - user permissions ask update at each admin page generation. Table user_forbidden must be updated only if current user is not in administrative section - bug fixed : category.php, error on page title when non category selected - admin/search : bug on variable $PHP_SELF, replaced by $_SERVER['PHP_SELF'] - admin/user_perm : inheritence management. When a category become authorized, all parent categories become authorized, when a category become forbidden, all child category become forbidden - no more recursivity in delete_categories function - new function get_fs_directories for future new method of synchronization - new function get_uppercat_ids replacing several pieces of code doing the same - new function get_fulldirs used for metadata function get_filelist and future new method of synchronization - new function get_fs for future new method of synchronization - typo correction on lang item "about_message" - no link to category privacy status management on user permission anymore (giving the menu item instead) git-svn-id: http://piwigo.org/svn/trunk@657 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/search.php') diff --git a/admin/search.php b/admin/search.php index f1716ff84..8a247d942 100644 --- a/admin/search.php +++ b/admin/search.php @@ -44,7 +44,7 @@ $template->assign_vars(array( 'L_UPDATE_USERNAME'=>$lang['Look_up_user'], 'L_CLOSE_WINDOW'=>$lang['Close'], - 'F_SEARCH_ACTION' => add_session_id($PHP_SELF), + 'F_SEARCH_ACTION' => add_session_id($_SERVER['PHP_SELF']), )); //----------------------------------------------------------------- form action -- cgit v1.2.3