mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
Issue 1521 : correction for admin pages
git-svn-id: http://piwigo.org/svn/trunk@5917 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -219,6 +219,8 @@ $forbidden = get_sql_condition_FandF(
|
||||
// +-----------------------------------------------------------------------+
|
||||
if ('categories' == $page['section'])
|
||||
{
|
||||
$page['title'] = '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>';
|
||||
|
||||
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'] = '<a href="'.get_absolute_root_url().$conf['home_page'].'">'.l10n('Home').'</a>';
|
||||
}
|
||||
|
||||
if
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user