diff --git a/html/pages/device/health/diskio.inc.php b/html/pages/device/health/diskio.inc.php
index 0fac6fbbd..bb9623e79 100644
--- a/html/pages/device/health/diskio.inc.php
+++ b/html/pages/device/health/diskio.inc.php
@@ -15,7 +15,7 @@ foreach (dbFetchRows("SELECT * FROM `ucd_diskio` WHERE device_id = ? ORDER BY di
{
if (is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; }
- $fs_url = "device/".$device['device_id']."/health/diskio/";
+ $fs_url = "device/device=".$device['device_id']."/tab=health/metric=diskio/";
$graph_array_zoom['id'] = $drive['diskio_id'];
$graph_array_zoom['type'] = "diskio_ops";
diff --git a/html/pages/device/health/processor.inc.php b/html/pages/device/health/processor.inc.php
index 549413044..0e54b9264 100644
--- a/html/pages/device/health/processor.inc.php
+++ b/html/pages/device/health/processor.inc.php
@@ -8,7 +8,7 @@ echo("
");
$i = '1';
foreach (dbFetchRows("SELECT * FROM `processors` WHERE device_id = ?", array($device['device_id'])) as $proc)
{
- $proc_url = "device/".$device['device_id']."/health/processor/";
+ $proc_url = "device/device=".$device['device_id']."/tab=health/metric=processor/";
$mini_url = "graph.php?id=".$proc['processor_id']."&type=".$graph_type."&from=".$day."&to=".$now."&width=80&height=20&bg=f4f4f4";
diff --git a/html/pages/device/health/storage.inc.php b/html/pages/device/health/storage.inc.php
index be1f4f404..e0ab4eed0 100644
--- a/html/pages/device/health/storage.inc.php
+++ b/html/pages/device/health/storage.inc.php
@@ -25,7 +25,7 @@ foreach (dbFetchRows("SELECT * FROM `storage` WHERE device_id = ? ORDER BY stora
$total = formatStorage($total);
$free = formatStorage($free);
- $fs_url = "device/".$device['device_id']."/health/storage/";
+ $fs_url = "device/device=".$device['device_id']."/tab=health/metric=storage/";
$fs_popup = "onmouseover=\"return overlib('".$device['hostname']." - ".$drive['storage_descr'];
$fs_popup .= "
";
diff --git a/html/pages/device/overview.inc.php b/html/pages/device/overview.inc.php
index bc5f2c882..bb0e54d05 100644
--- a/html/pages/device/overview.inc.php
+++ b/html/pages/device/overview.inc.php
@@ -89,7 +89,7 @@ include("overview/sensors/frequencies.inc.php");
echo("");
echo("
");
-echo('');
+echo('');
echo("
Recent Events
");
echo("
");
diff --git a/html/pages/device/overview/generic/sensor.inc.php b/html/pages/device/overview/generic/sensor.inc.php
index 8f90eaf0e..d24197f60 100644
--- a/html/pages/device/overview/generic/sensor.inc.php
+++ b/html/pages/device/overview/generic/sensor.inc.php
@@ -5,7 +5,7 @@ $sensors = dbFetchRows("SELECT * FROM `sensors` WHERE `sensor_class` = ? AND dev
if (count($sensors))
{
echo('');
- echo('
' . $sensor_type . '
');
+ echo('
' . $sensor_type . '
');
$i = '1';
echo('
');
foreach ($sensors as $sensor)
diff --git a/html/pages/device/overview/mempools.inc.php b/html/pages/device/overview/mempools.inc.php
index 86afa094a..2e9bec10b 100644
--- a/html/pages/device/overview/mempools.inc.php
+++ b/html/pages/device/overview/mempools.inc.php
@@ -8,7 +8,7 @@ if (count($mempools))
{
echo("");
echo("
");
- echo('');
+ echo('');
echo("
Memory Pools
");
echo("
");
$mempool_rows = '0';
diff --git a/html/pages/device/overview/processors.inc.php b/html/pages/device/overview/processors.inc.php
index d92416b5e..3953904fb 100644
--- a/html/pages/device/overview/processors.inc.php
+++ b/html/pages/device/overview/processors.inc.php
@@ -9,7 +9,7 @@ if (count($processors))
$processor_rows = 0;
echo("");
echo("
");
- echo('');
+ echo('');
echo("
Processors
");
echo("
");
diff --git a/html/pages/device/overview/storage.inc.php b/html/pages/device/overview/storage.inc.php
index d67378281..fe4ca0fe3 100644
--- a/html/pages/device/overview/storage.inc.php
+++ b/html/pages/device/overview/storage.inc.php
@@ -8,7 +8,7 @@ if (count($drives))
{
echo("");
echo("
");
- echo('');
+ echo('');
echo("
Storage
");
echo("
");
$drive_rows = '0';
diff --git a/html/pages/device/showconfig.inc.php b/html/pages/device/showconfig.inc.php
index 4f8865517..70260d80d 100644
--- a/html/pages/device/showconfig.inc.php
+++ b/html/pages/device/showconfig.inc.php
@@ -2,6 +2,8 @@
include("includes/geshi/geshi.php");
+# FIXME svn stuff still using optc etc, won't work, needs updating!
+
if ($_SESSION['userlevel'] >= "7")
{
@@ -21,10 +23,10 @@ if ($_SESSION['userlevel'] >= "7")
if (!$_GET['optc']) {
echo('");
} else {
- echo(" Latest");
+ echo(" Latest");
}
if (function_exists('svn_log')) {
@@ -40,7 +42,7 @@ if ($_SESSION['userlevel'] >= "7")
if ($_GET['optc'] == $svnlog["rev"]) { echo('"); }
$sep = " | ";