diff --git a/html/includes/dev-overview-data.inc.php b/html/includes/dev-overview-data.inc.php index b83b8c311..2a8774351 100644 --- a/html/includes/dev-overview-data.inc.php +++ b/html/includes/dev-overview-data.inc.php @@ -1,8 +1,12 @@ "); + if ($config['overview_show_sysDescr']) { - echo('
' . $device['sysDescr'] . "
"); + echo("

"); + echo('

' . $device['sysDescr'] . "
"); + echo("

"); } $uptime = $device['uptime']; @@ -11,7 +15,8 @@ if ($device['os'] == "ios") { formatCiscoHardware($device); } if ($device['features']) { $device['features'] = "(".$device['features'].")"; } $device['os_text'] = $config['os'][$device['os']]['text']; -echo(''); +echo("
"); +echo('
'); if ($device['hardware']) { @@ -74,7 +79,7 @@ if ($uptime) '); } -echo(' -
'); + echo("
"); + echo(""); ?> diff --git a/html/pages/device/overview.inc.php b/html/pages/device/overview.inc.php index 394dce5e5..4ad42ad91 100644 --- a/html/pages/device/overview.inc.php +++ b/html/pages/device/overview.inc.php @@ -17,14 +17,9 @@ if ($ports['down']) { $ports_colour = $warn_colour_a; } else { $ports_colour = $ echo("
"); -# echo("

Device Data

"); -# include("includes/dev-data-" . strtolower($device[os]) . ".inc.php"); - include("includes/dev-overview-data.inc.php"); - - echo(""); -#} +echo("
"); +include("includes/dev-overview-data.inc.php"); +echo("
"); include("overview/ports.inc.php"); @@ -52,7 +47,7 @@ if ($services['total']) if ($data['service_status'] == "1" && $data['service_ignore'] == "1") { $status = "green"; } if ($data['service_status'] == "0" && $data['service_ignore'] == "0") { $status = "red"; } if ($data['service_status'] == "1" && $data['service_ignore'] == "0") { $status = "blue"; } - echo("$break" . strtolower($data[service_type]) . ""); + echo("$break" . strtolower($data['service_type']) . ""); $break = ", "; }