Changeset 809 for trunk/admin.php


Ignore:
Timestamp:
Aug 14, 2005, 1:09:54 AM (19 years ago)
Author:
plg
Message:
  • new : maintenance screen in administration. There you can update categories informations (number of images, date of the last added element), update images informations (path, average rate), purge obsolete sessions, purge history.
  • new : ability to have random representative for categories. This configuration parameter is set to false by default.
  • new : ability to set an element as representative of a category without belonging to the category. Thus, administrator can choose representative even for empty categories.
  • improvement : semantically superior design for category edition screen by regrouping fields in fieldsets. The improved screen contains action buttons as in category list screen.
  • new : ability to move a virtual category (ie change its parent category).
  • bug fixed : the sync_users function checks all user children tables (access, cache, group association).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r808 r809  
    166166 {
    167167   $title = 'batch management';
     168   $page_valide = true;
     169   break;
     170 }
     171 case 'maintenance' :
     172 {
     173   $title = l10n('Maintenance');
     174   $page_valide = true;
     175   break;
     176 }
     177 case 'representative' :
     178 {
     179   $title = l10n('Representative');
    168180   $page_valide = true;
    169181   break;
     
    245257  'U_SITES'=>add_session_id($link_start.'remote_site'),
    246258  'U_PHPINFO'=>add_session_id($link_start.'admin_phpinfo' ),
     259  'U_MAINTENANCE'=>add_session_id($link_start.'maintenance'),
    247260  'U_CONFIG_GENERAL'=>add_session_id($conf_link.'general' ),
    248261  'U_CONFIG_COMMENTS'=>add_session_id($conf_link.'comments' ),
     
    270283  ));
    271284
     285if ($conf['allow_random_representative'])
     286{
     287  $template->assign_block_vars(
     288    'representative',
     289    array(
     290      'URL' => add_session_id($opt_link.'representative')
     291      )
     292    );
     293}
     294 
    272295//--------------------------------------------------------------------- summary
    273296$link_start = PHPWG_ROOT_PATH.'admin.php?page=';
Note: See TracChangeset for help on using the changeset viewer.