mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
better page title settings defaults
git-svn-id: http://www.observium.org/svn/observer/trunk@3039 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+5
-4
@@ -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']; }
|
||||
|
||||
?>
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title><?php echo($config['page_title']); ?></title>
|
||||
<title><?php echo($config['page_title_prefix']); ?></title>
|
||||
<base href="<?php echo($config['base_url']); ?>" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
|
||||
@@ -327,9 +331,6 @@ $('INPUT.auto-hint, TEXTAREA.auto-hint').focus(function() {
|
||||
<?php
|
||||
if (is_array($pagetitle))
|
||||
{
|
||||
# page_title is put in front, unless page_title_prefix is set
|
||||
if (!$config['page_title_prefix']) { $config['page_title_prefix'] = $config['page_title']; }
|
||||
|
||||
# if prefix is set, put it in front
|
||||
if ($config['page_title_prefix']) { array_unshift($pagetitle,$config['page_title_prefix']); }
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ $config['favicon'] = "images/observium-icon.png";
|
||||
$config['header_color'] = "#1F334E";
|
||||
$config['page_refresh'] = "300"; ## Refresh the page every xx seconds, 0 to disable
|
||||
$config['front_page'] = "pages/front/default.php";
|
||||
$config['page_title'] = "Observium :: Network Observation and Monitoring";
|
||||
$config['page_title_prefix'] = "Observium :: Network Observation and Monitoring";
|
||||
$config['timestamp_format'] = 'd-m-Y H:i:s';
|
||||
$config['page_gen'] = 1;
|
||||
$config['web_header'] = "header.inc.php"; # in html/includes
|
||||
|
||||
Reference in New Issue
Block a user