bug 2772: remove "Home" from html title pages on index pages - partial revert change of breadcrumb title on home page

git-svn-id: http://piwigo.org/svn/trunk@19233 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2012-11-30 20:59:02 +00:00
parent 06e54482cc
commit 5ca6b4c919
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -567,15 +567,13 @@ if (isset($page['title']))
{
if ('picture'==script_basename())
{
$used_title = l10n('Home');
$used_link = duplicate_index_url(array('start'=>0));
}
else
{
$used_title = ('categories'==$page['section'] && !isset($page['category']) && !isset($page['chronology_field']) ) ? $conf['gallery_title'] : l10n('Home');
$used_link = get_gallery_home_url();
}
$page['section_title'] = $page['title'] = '<a href="'.$used_link.'">'.$used_title.'</a>';
$page['section_title'] = $page['title'] = '<a href="'.$used_link.'">'.l10n('Home').'</a>';
}
}