From 8cf5ae5c75c1f5d5183c16256af57527ebfa659e Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 14 Dec 2011 10:54:35 +0000 Subject: [PATCH] dirty bitch moron files git-svn-id: http://www.observium.org/svn/observer/trunk@2780 61d68cd4-352d-0410-923a-c4978735b2b8 --- .../device/{dBm.inc.php => dbm.inc.php} | 0 html/includes/graphs/sensor/dbm.inc.php | 20 +++++++++++++++++++ html/pages/device/health.inc.php | 4 ++-- html/pages/device/health/dbm.inc.php | 9 +++++++++ html/pages/device/overview.inc.php | 2 ++ .../pages/device/overview/sensors/dbm.inc.php | 10 ++++++++++ html/pages/health/dbm.inc.php | 9 +++++++++ 7 files changed, 52 insertions(+), 2 deletions(-) rename html/includes/graphs/device/{dBm.inc.php => dbm.inc.php} (100%) create mode 100644 html/includes/graphs/sensor/dbm.inc.php create mode 100644 html/pages/device/health/dbm.inc.php create mode 100644 html/pages/device/overview/sensors/dbm.inc.php create mode 100644 html/pages/health/dbm.inc.php diff --git a/html/includes/graphs/device/dBm.inc.php b/html/includes/graphs/device/dbm.inc.php similarity index 100% rename from html/includes/graphs/device/dBm.inc.php rename to html/includes/graphs/device/dbm.inc.php diff --git a/html/includes/graphs/sensor/dbm.inc.php b/html/includes/graphs/sensor/dbm.inc.php new file mode 100644 index 0000000000..a4ea9191fc --- /dev/null +++ b/html/includes/graphs/sensor/dbm.inc.php @@ -0,0 +1,20 @@ + diff --git a/html/pages/device/health.inc.php b/html/pages/device/health.inc.php index 4cc8429805..97244c8369 100644 --- a/html/pages/device/health.inc.php +++ b/html/pages/device/health.inc.php @@ -27,7 +27,7 @@ if ($volts) { $datas[] = 'voltage'; } if ($freqs) { $datas[] = 'frequency'; } if ($current) { $datas[] = 'current'; } if ($power) { $datas[] = 'power'; } -if ($dBm) { $datas[] = 'dBm'; } +if ($dBm) { $datas[] = 'dbm'; } $type_text['overview'] = "Overview"; $type_text['temperature'] = "Temperature"; @@ -41,7 +41,7 @@ $type_text['fanspeed'] = "Fanspeed"; $type_text['frequency'] = "Frequency"; $type_text['current'] = "Current"; $type_text['power'] = "Power"; -$type_text['dBm'] = "dBm"; +$type_text['dbm'] = "dBm"; $link_array = array('page' => 'device', 'device' => $device['device_id'], diff --git a/html/pages/device/health/dbm.inc.php b/html/pages/device/health/dbm.inc.php new file mode 100644 index 0000000000..4d264d98ff --- /dev/null +++ b/html/pages/device/health/dbm.inc.php @@ -0,0 +1,9 @@ + diff --git a/html/pages/device/overview.inc.php b/html/pages/device/overview.inc.php index 79aca96136..067290c29b 100644 --- a/html/pages/device/overview.inc.php +++ b/html/pages/device/overview.inc.php @@ -85,11 +85,13 @@ if(is_array($entity_state['group']['c6kxbar'])) { include("overview/c6kxbar.inc. include("overview/sensors/temperatures.inc.php"); include("overview/sensors/humidity.inc.php"); include("overview/sensors/fanspeeds.inc.php"); +include("overview/sensors/dbm.inc.php"); include("overview/sensors/voltages.inc.php"); include("overview/sensors/current.inc.php"); include("overview/sensors/power.inc.php"); include("overview/sensors/frequencies.inc.php"); + echo("
"); echo("

"); echo(''); diff --git a/html/pages/device/overview/sensors/dbm.inc.php b/html/pages/device/overview/sensors/dbm.inc.php new file mode 100644 index 0000000000..81646d32c5 --- /dev/null +++ b/html/pages/device/overview/sensors/dbm.inc.php @@ -0,0 +1,10 @@ + diff --git a/html/pages/health/dbm.inc.php b/html/pages/health/dbm.inc.php new file mode 100644 index 0000000000..9d7f49c837 --- /dev/null +++ b/html/pages/health/dbm.inc.php @@ -0,0 +1,9 @@ +