Changeset 19233
- Timestamp:
- Nov 30, 2012, 9:59:02 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/section_init.inc.php
r18666 r19233 568 568 if ('picture'==script_basename()) 569 569 { 570 $used_title = l10n('Home');571 570 $used_link = duplicate_index_url(array('start'=>0)); 572 571 } 573 572 else 574 573 { 575 $used_title = ('categories'==$page['section'] && !isset($page['category']) && !isset($page['chronology_field']) ) ? $conf['gallery_title'] : l10n('Home');576 574 $used_link = get_gallery_home_url(); 577 575 } 578 $page['section_title'] = $page['title'] = '<a href="'.$used_link.'">'. $used_title.'</a>';576 $page['section_title'] = $page['title'] = '<a href="'.$used_link.'">'.l10n('Home').'</a>'; 579 577 } 580 578 } -
trunk/themes/default/template/header.tpl
r18756 r19233 17 17 {/if} 18 18 {/if} 19 <title>{ $PAGE_TITLE}{if $PAGE_TITLE!=$GALLERY_TITLE} | {$GALLERY_TITLE}{/if}</title>19 <title>{if $PAGE_TITLE!=l10n('Home') && $PAGE_TITLE!=$GALLERY_TITLE}{$PAGE_TITLE} | {/if}{$GALLERY_TITLE}</title> 20 20 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> 21 21
Note: See TracChangeset
for help on using the changeset viewer.