Changeset 5917
- Timestamp:
- Apr 18, 2010, 11:11:10 AM (14 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_html.inc.php
r5706 r5917 41 41 global $conf; 42 42 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 45 47 foreach ($cat_informations as $cat) 46 48 { … … 54 56 'get_cat_display_name' 55 57 ); 56 57 $output.= $conf['level_separator']; 58 59 if (!$is_first) 60 { 61 $output.= $conf['level_separator']; 62 $is_first = false; 63 } 58 64 59 65 if ( !isset($url) ) -
trunk/include/section_init.inc.php
r5469 r5917 220 220 if ('categories' == $page['section']) 221 221 { 222 $page['title'] = '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>'; 223 222 224 if (isset($page['category'])) 223 225 { … … 232 234 ), 233 235 '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 ); 241 239 } 242 240
Note: See TracChangeset
for help on using the changeset viewer.