From 4dccf2577668877844e193c92778215d0316fb4a Mon Sep 17 00:00:00 2001 From: "laurent.duretz" Date: Thu, 22 Apr 2010 13:11:32 +0000 Subject: Issue 1521 : report trunk on branch 2.0 git-svn-id: http://piwigo.org/svn/branches/2.0@5938 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 6264d0c28..d8713c09c 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -220,6 +220,8 @@ $forbidden = get_sql_condition_FandF( // +-----------------------------------------------------------------------+ if ('categories' == $page['section']) { + $page['title'] = ''.l10n('home').''; + if (isset($page['category'])) { $page = array_merge( @@ -232,14 +234,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('no_category').''; - } if ( -- cgit v1.2.3