Ignore:
Timestamp:
Aug 19, 2005, 7:00:20 PM (19 years ago)
Author:
plg
Message:
  • improvement : standardization of categories navigation bar on top of administration screen element_set_(global|unit), cat_modify, cat_list, cat_perm.
  • new : direct link to admin/cat_modify from category.php.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/cat_list.php

    r798 r834  
    6262// |                            initialization                             |
    6363// +-----------------------------------------------------------------------+
     64
    6465$categories = array();
    65 $navigation = $lang['home'];
     66
     67$base_url = PHPWG_ROOT_PATH.'admin.php?page=cat_list';
     68$navigation = '<a class="" href="'.add_session_id($base_url).'">';
     69$navigation.= $lang['home'];
     70$navigation.= '</a>';
     71
    6672// +-----------------------------------------------------------------------+
    6773// |                    virtual categories management                      |
     
    196202  $categories[$row['rank']]['nb_subcats'] = 0;
    197203}
     204
    198205// +-----------------------------------------------------------------------+
    199206// |                            Navigation path                            |
    200207// +-----------------------------------------------------------------------+
     208
    201209if (isset($_GET['parent_id']))
    202210{
    203   $base_url = PHPWG_ROOT_PATH.'admin.php?page=cat_list';
    204  
    205   $navigation = '<a class="" href="'.add_session_id($base_url).'">';
    206   $navigation.= $lang['home'];
    207   $navigation.= '</a>';
    208211  $navigation.= $conf['level_separator'];
    209212
Note: See TracChangeset for help on using the changeset viewer.