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

    r678 r817  
    193193  $available_lang = get_languages();
    194194
    195   $lang_select = '<select name="' . $select_name . '" onchange="this.form.submit()">';
     195  $lang_select = '<select name="' . $select_name . '">';
    196196  foreach ($available_lang as $code => $displayname)
    197197  {
     
    450450  return $content;
    451451}
     452
     453function get_cat_display_name_from_id($cat_id,
     454                                      $url = 'category.php?cat=',
     455                                      $replace_space = true)
     456{
     457  $cat_info = get_cat_info($cat_id);
     458  get_cat_display_name($cat_info['id'], $url, $replace_space);
     459}
    452460?>
Note: See TracChangeset for help on using the changeset viewer.