From f81a7de10386018933a2bdee1e47eec33efec949 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 18 Apr 2013 13:18:17 +0000 Subject: merge r22282 from branch 2.5 to trunk bug 2891 fixed: pure root_url on Home link in breadcrumb git-svn-id: http://piwigo.org/svn/trunk@22283 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/section_init.inc.php | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'include/section_init.inc.php') diff --git a/include/section_init.inc.php b/include/section_init.inc.php index 3d451b45a..c71c44780 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -570,21 +570,14 @@ if (isset($page['chronology_field'])) // title update if (isset($page['title'])) { + $page['section_title'] = ''.l10n('Home').''; if (!empty($page['title'])) - { - $page['section_title'] = ''.l10n('Home').''.$conf['level_separator'].$page['title']; - } + { + $page['section_title'] .= $conf['level_separator'].$page['title']; + } else { - if ('picture'==script_basename()) - { - $used_link = duplicate_index_url(array('start'=>0), array('flat')); - } - else - { - $used_link = get_gallery_home_url(); - } - $page['section_title'] = $page['title'] = ''.l10n('Home').''; + $page['title'] = $page['section_title']; } } -- cgit v1.2.3