From f096b307c4043eaf25f0ac68569711a5be53c12d Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Sun, 4 Sep 2011 21:50:48 +0000 Subject: [PATCH] initial widescreen version :) git-svn-id: http://www.observium.org/svn/observer/trunk@2412 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/header.inc.php | 10 ++++++++++ html/includes/print-quadgraphs.inc.php | 11 ++++++++--- html/index.php | 12 +++++++++++- includes/static-config.php | 2 ++ 4 files changed, 31 insertions(+), 4 deletions(-) diff --git a/html/includes/header.inc.php b/html/includes/header.inc.php index 790506088..a26ede429 100644 --- a/html/includes/header.inc.php +++ b/html/includes/header.inc.php @@ -3,6 +3,16 @@ + +Switch to Normal Width'); +}else{ + echo('Switch to Widescreen'); +} +?> + + " rel="stylesheet" type="text/css" /> + + '); } + ?> + @@ -96,7 +107,6 @@ function popUp(URL) '); } diff --git a/includes/static-config.php b/includes/static-config.php index 5d2ded289..2df0ebaab 100644 --- a/includes/static-config.php +++ b/includes/static-config.php @@ -986,6 +986,8 @@ $config['time']['twomonth'] = time() - (2 * 31 * 24 * 60 * 60); $config['time']['threemonth'] = time() - (3 * 31 * 24 * 60 * 60); $config['time']['sixmonth'] = time() - (6 * 31 * 24 * 60 * 60); $config['time']['year'] = time() - (365 * 24 * 60 * 60); +$config['time']['twoyear'] = time() - (2 * 365 * 24 * 60 * 60); + # IPMI sensor type mappings $config['ipmi_unit']['Volts'] = 'voltage';