Changeset 22282 for branches/2.5/include/section_init.inc.php
- Timestamp:
- Apr 18, 2013, 3:17:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/include/section_init.inc.php
r22162 r22282 571 571 if (isset($page['title'])) 572 572 { 573 $page['section_title'] = '<a href="'.get_gallery_home_url().'">'.l10n('Home').'</a>'; 573 574 if (!empty($page['title'])) 574 575 $page['section_title'] = '<a href="'.get_gallery_home_url().'">'.l10n('Home').'</a>'.$conf['level_separator'].$page['title'];576 575 { 576 $page['section_title'] .= $conf['level_separator'].$page['title']; 577 } 577 578 else 578 579 { 579 if ('picture'==script_basename()) 580 { 581 $used_link = duplicate_index_url(array('start'=>0), array('flat')); 582 } 583 else 584 { 585 $used_link = get_gallery_home_url(); 586 } 587 $page['section_title'] = $page['title'] = '<a href="'.$used_link.'">'.l10n('Home').'</a>'; 580 $page['title'] = $page['section_title']; 588 581 } 589 582 }
Note: See TracChangeset
for help on using the changeset viewer.