From 70ed16c571c6719ede7eab0d2ba4b0d2c47b1b93 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Mon, 14 Jun 2010 15:33:41 +0000 Subject: [PATCH] jaja, add headers :D git-svn-id: http://www.observium.org/svn/observer/trunk@1175 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/header-small.inc.php | 53 ++++++++++++++++++++++++++++++ html/includes/header.inc.php | 53 ++++++++++++++++++++++++++++++ includes/defaults.inc.php | 2 ++ 3 files changed, 108 insertions(+) create mode 100644 html/includes/header-small.inc.php create mode 100644 html/includes/header.inc.php diff --git a/html/includes/header-small.inc.php b/html/includes/header-small.inc.php new file mode 100644 index 0000000000..ddc45c5055 --- /dev/null +++ b/html/includes/header-small.inc.php @@ -0,0 +1,53 @@ +
+
+ + + diff --git a/html/includes/header.inc.php b/html/includes/header.inc.php new file mode 100644 index 0000000000..b1cdba5965 --- /dev/null +++ b/html/includes/header.inc.php @@ -0,0 +1,53 @@ +
+ + + + + +
+ ".$_SESSION['username']." (Logout)"); + } else { + echo("Not logged in!"); + } + if( Net_IPv6::checkIPv6($_SERVER['REMOTE_ADDR'])) { echo(" via IPv6"); } else { echo(" via IPv4"); } + ?> +
+
+ + + diff --git a/includes/defaults.inc.php b/includes/defaults.inc.php index 00e5225af2..56a2c13868 100644 --- a/includes/defaults.inc.php +++ b/includes/defaults.inc.php @@ -33,6 +33,8 @@ $config['syslog_age'] = "1 month"; $config['timestamp_format'] = 'd-m-Y H:i:s'; $config['page_gen'] = 1; +$config['web_header'] = "header.inc.php"; # in html/includes + ### Alerting Settings #$config['alert']['email']]'default'] = NULL; ## Default alert recipient