diff --git a/html/includes/graphs/device/fanspeeds.inc.php b/html/includes/graphs/device/fanspeed.inc.php similarity index 100% rename from html/includes/graphs/device/fanspeeds.inc.php rename to html/includes/graphs/device/fanspeed.inc.php diff --git a/html/includes/graphs/device/frequencies.inc.php b/html/includes/graphs/device/frequency.inc.php similarity index 100% rename from html/includes/graphs/device/frequencies.inc.php rename to html/includes/graphs/device/frequency.inc.php diff --git a/html/includes/graphs/device/mempools.inc.php b/html/includes/graphs/device/mempool.inc.php similarity index 100% rename from html/includes/graphs/device/mempools.inc.php rename to html/includes/graphs/device/mempool.inc.php diff --git a/html/includes/graphs/device/processors.inc.php b/html/includes/graphs/device/processor.inc.php similarity index 100% rename from html/includes/graphs/device/processors.inc.php rename to html/includes/graphs/device/processor.inc.php diff --git a/html/includes/graphs/device/temperatures.inc.php b/html/includes/graphs/device/temperature.inc.php similarity index 100% rename from html/includes/graphs/device/temperatures.inc.php rename to html/includes/graphs/device/temperature.inc.php diff --git a/html/includes/graphs/device/voltages.inc.php b/html/includes/graphs/device/voltage.inc.php similarity index 100% rename from html/includes/graphs/device/voltages.inc.php rename to html/includes/graphs/device/voltage.inc.php diff --git a/html/pages/device/health.inc.php b/html/pages/device/health.inc.php index add6bb26d..a976519de 100644 --- a/html/pages/device/health.inc.php +++ b/html/pages/device/health.inc.php @@ -31,7 +31,7 @@ $type_text['mempool'] = "Memory"; $type_text['storage'] = "Disk Usage"; $type_text['diskio'] = "Disk I/O"; $type_text['processor'] = "Processor"; -$type_text['voltage'] = "Voltages"; +$type_text['voltage'] = "Voltage"; $type_text['fanspeed'] = "Fanspeed"; $type_text['frequency'] = "Frequency"; $type_text['current'] = "Current"; @@ -48,10 +48,8 @@ foreach ($datas as $type) if ($_GET['opta'] == $type) { echo(''); -# echo(''); - } else { -# echo(''); } + echo(" " . $type_text[$type] .""); if ($_GET['opta'] == $type) { echo(""); } $sep = " | "; diff --git a/html/pages/device/overview/processors.inc.php b/html/pages/device/overview/processors.inc.php index d6d09392e..dc128003c 100644 --- a/html/pages/device/overview/processors.inc.php +++ b/html/pages/device/overview/processors.inc.php @@ -8,7 +8,7 @@ if (mysql_result(mysql_query("SELECT count(*) from processors WHERE device_id = echo("
"); echo("

"); echo(''); - echo(" Processors

"); + echo(" Processors

"); echo(""); $i = '1'; $procs = mysql_query("SELECT * FROM `processors` WHERE device_id = '" . $device['device_id'] . "' ORDER BY processor_descr ASC"); @@ -52,4 +52,4 @@ if (mysql_result(mysql_query("SELECT count(*) from processors WHERE device_id = echo(""); } -?> \ No newline at end of file +?> diff --git a/html/pages/health.inc.php b/html/pages/health.inc.php index 3868a46cb..e0707084d 100644 --- a/html/pages/health.inc.php +++ b/html/pages/health.inc.php @@ -1,6 +1,18 @@ "); - #'style='font-weight: bold; background-color: #ffffff; -moz-border-radius: 15px; border-radius: 15px; padding: 2px 8px;'>"); -# echo(''); } - else - { -# echo(''); - } - echo('' . $texttype .""); + + echo('' . $type_text[$type] .""); if ($_GET['opta'] == $type) { echo(""); } diff --git a/html/pages/health/memory.inc.php b/html/pages/health/mempool.inc.php similarity index 100% rename from html/pages/health/memory.inc.php rename to html/pages/health/mempool.inc.php