From f7c8687e7bc1a0b30496fe30212063f45a26d8eb Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 18 Apr 2013 13:17:26 +0000 Subject: bug 2891 fixed: pure root_url on Home link in breadcrumb git-svn-id: http://piwigo.org/svn/branches/2.5@22282 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/section_init.inc.php | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/include/section_init.inc.php b/include/section_init.inc.php index 21ccb97bb..daab564cd 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