Improve tab title uniqueness in backend (#413)

Show the blogtitle after the section, and shortens plugins and template
menu title to the one used in the menu
This commit is contained in:
onli 2016-07-29 00:10:19 +02:00
parent 3179ed7d57
commit b22ef8d1ce
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ if (!$use_installer && $is_logged_in) {
}
include S9Y_INCLUDE_PATH . 'include/admin/templates.inc.php';
$admin_section = MANAGE_STYLES;
$admin_section = MENU_TEMPLATES;
break;
case 'plugins':
@ -125,7 +125,7 @@ if (!$use_installer && $is_logged_in) {
}
include S9Y_INCLUDE_PATH . 'include/admin/plugins.inc.php';
$admin_section = CONFIGURE_PLUGINS;
$admin_section = MENU_PLUGINS;
break;
case 'users':

View File

@ -3,7 +3,7 @@
<!--[if gt IE 8]><!--> <html class="no-js" dir="{$CONST.LANG_DIRECTION}" lang="{$lang}"> <!--<![endif]-->
<head>
<meta charset="{$CONST.LANG_CHARSET}">
<title>{if $admin_vars.title}{$admin_vars.title} | {/if}{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
<title>{if $admin_vars.title}{$admin_vars.title} | {/if}{$blogTitle} | {$CONST.SERENDIPITY_ADMIN_SUITE}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{$head_link_stylesheet}">
<!--[if lte IE 8]>