Changeset 5917


Ignore:
Timestamp:
Apr 18, 2010, 11:11:10 AM (14 years ago)
Author:
laurent.duretz
Message:

Issue 1521 : correction for admin pages

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r5706 r5917  
    4141  global $conf;
    4242
    43   $output = '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>';
    44 
     43  //$output = '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>';
     44  $output = '';
     45  $is_first = true;
     46 
    4547  foreach ($cat_informations as $cat)
    4648  {
     
    5456      'get_cat_display_name'
    5557      );
    56 
    57     $output.= $conf['level_separator'];
     58   
     59    if (!$is_first)
     60    {
     61      $output.= $conf['level_separator'];
     62      $is_first = false;
     63    }
    5864
    5965    if ( !isset($url) )
  • trunk/include/section_init.inc.php

    r5469 r5917  
    220220if ('categories' == $page['section'])
    221221{
     222  $page['title'] = '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>';
     223
    222224  if (isset($page['category']))
    223225  {
     
    232234            ),
    233235        'title'             =>
    234           get_cat_display_name($page['category']['upper_names'], '', false),
    235         )
    236       );
    237   }
    238   else
    239   {
    240     $page['title'] = '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>';
     236          $page['title'].$conf['level_separator'].get_cat_display_name($page['category']['upper_names'], '', false),
     237        )
     238      );
    241239  }
    242240
Note: See TracChangeset for help on using the changeset viewer.