From 43a30afea65e4466b0c91fdb4ad78e84f6c4e2cf Mon Sep 17 00:00:00 2001 From: "laurent.duretz" Date: Sun, 18 Apr 2010 09:11:10 +0000 Subject: Issue 1521 : correction for admin pages git-svn-id: http://piwigo.org/svn/trunk@5917 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/section_init.inc.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include/section_init.inc.php') diff --git a/include/section_init.inc.php b/include/section_init.inc.php index f7fae1228..d4d8725dd 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -219,6 +219,8 @@ $forbidden = get_sql_condition_FandF( // +-----------------------------------------------------------------------+ if ('categories' == $page['section']) { + $page['title'] = ''.l10n('Home').''; + if (isset($page['category'])) { $page = array_merge( @@ -231,14 +233,10 @@ if ('categories' == $page['section']) 'main_page_category_description' ), 'title' => - get_cat_display_name($page['category']['upper_names'], '', false), + $page['title'].$conf['level_separator'].get_cat_display_name($page['category']['upper_names'], '', false), ) ); } - else - { - $page['title'] = ''.l10n('Home').''; - } if ( -- cgit v1.2.3