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/include/functions_category.inc.php

    r655 r657  
    715715  else
    716716  {
    717     $page['title'] = $lang['diapo_default_page_title'];
     717    $page['title'] = $lang['no_category'];
    718718  }
    719719  pwg_debug( 'end initialize_category' );
     
    764764  if (!empty($result))
    765765  {
    766   while ($row = mysql_fetch_array($result))
    767   {
    768     array_push($categories, $row);
    769   }
     766    while ($row = mysql_fetch_array($result))
     767    {
     768      array_push($categories, $row);
     769    }
    770770  }
    771771  usort($categories, 'global_rank_compare');
Note: See TracChangeset for help on using the changeset viewer.