Ignore:
Timestamp:
Aug 17, 2005, 4:25:38 PM (19 years ago)
Author:
plg
Message:
  • modification : major simplification of admin.php. Titles are managed by included page, localized items are managed directly in the template.
  • new : sub template admin/double_select is included in templates admin/cat_options, admin/user_perm and admin/group_perm. I haven't been able to use it in admin/picture_modify because it seems impossible to have two instance of the same sub-template without interfering.
  • modification : bug 99, in profile manager, no auto submit when changing language (useless and generate accessibility problem).
  • improvement : HTML semantically correct for administration menu, simpler syntax, less tags, correct tags (dl/dt/dd instead of div/div).
  • modification : number of waiting elements and unvalidated comments are displayed in admin/intro instead of administration menu (with a link to the dedicated pages).
  • deletion : no link to profile from admin/user_list anymore (no need).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/cat_perm.php

    r808 r817  
    197197// |                       template initialization                         |
    198198// +-----------------------------------------------------------------------+
     199
    199200$template->set_filenames(array('cat_perm'=>'admin/cat_perm.tpl'));
    200201
    201 $form_action = PHPWG_ROOT_PATH.'admin.php';
    202 $form_action.= '?page=cat_perm&cat='.$page['cat'];
    203 
    204 $template->assign_vars(array('F_ACTION' => $form_action));
     202$template->assign_vars(
     203  array(
     204    'TITLE' =>
     205      sprintf(
     206        l10n('Manage permissions for category "%s"'),
     207        get_cat_display_name_from_id($page['cat'])
     208        )
     209    'F_ACTION' =>
     210      add_session_id(
     211        PHPWG_ROOT_PATH.'admin.php?page=cat_perm&cat='.$page['cat']
     212        )
     213    )
     214  );
    205215
    206216// +-----------------------------------------------------------------------+
Note: See TracChangeset for help on using the changeset viewer.