Changeset 657 for trunk/admin.php


Ignore:
Timestamp:
Dec 25, 2004, 8:33:36 PM (19 years ago)
Author:
plg
Message:
  • 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 $_SERVERPHP_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)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r655 r657  
    247247$template->pparse('admin');
    248248include(PHPWG_ROOT_PATH.'include/page_tail.php');
     249// +-----------------------------------------------------------------------+
     250// |                     order permission refreshment                      |
     251// +-----------------------------------------------------------------------+
     252$query = '
     253UPDATE '.USER_FORBIDDEN_TABLE.'
     254  SET need_update = \'true\'
     255;';
     256pwg_query($query);
    249257?>
Note: See TracChangeset for help on using the changeset viewer.