From dc5c5fc3fcabf67262805ff52141058468e74b17 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Tue, 17 Apr 2012 10:53:24 +0000 Subject: [PATCH] better page title settings defaults git-svn-id: http://www.observium.org/svn/observer/trunk@3039 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/index.php | 9 +++++---- includes/defaults.inc.php | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/html/index.php b/html/index.php index 6d62f327ba..c07f2f1eab 100755 --- a/html/index.php +++ b/html/index.php @@ -124,11 +124,15 @@ if (isset($config['branding']) && is_array($config['branding'])) } } } + +# page_title_prefix is displayed, unless page_title is set +if ($config['page_title']) { $config['page_title_prefix'] = $config['page_title']; } + ?> - <?php echo($config['page_title']); ?> + <?php echo($config['page_title_prefix']); ?> @@ -327,9 +331,6 @@ $('INPUT.auto-hint, TEXTAREA.auto-hint').focus(function() {