Skip to content

Commit

Permalink
bug 2772: remove "Home" from html title pages on index pages (better …
Browse files Browse the repository at this point in the history
…title when viewing in flat mode)

git-svn-id: http://piwigo.org/svn/trunk@18666 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
rvelices committed Oct 16, 2012
1 parent 7f75c13 commit d283bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/section_init.inc.php
Expand Up @@ -572,7 +572,7 @@
}
else
{
$used_title = @$page['is_homepage'] ? $conf['gallery_title'] :l10n('Home');
$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>';
Expand Down

0 comments on commit d283bd5

Please sign in to comment.