Changeset 5938 for branches/2.0/include/section_init.inc.php
- Timestamp:
- Apr 22, 2010, 3:11:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/include/section_init.inc.php
r5254 r5938 221 221 if ('categories' == $page['section']) 222 222 { 223 $page['title'] = '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('home').'</a>'; 224 223 225 if (isset($page['category'])) 224 226 { … … 233 235 ), 234 236 'title' => 235 get_cat_display_name($page['category']['upper_names'], '', false), 236 ) 237 ); 238 } 239 else 240 { 241 $page['title'] = '<a href="'.PHPWG_ROOT_PATH.$conf['home_page'].'">'.l10n('no_category').'</a>'; 237 $page['title'].$conf['level_separator'].get_cat_display_name($page['category']['upper_names'], '', false), 238 ) 239 ); 242 240 } 243 241
Note: See TracChangeset
for help on using the changeset viewer.