diff --git a/html/includes/dev-overview-data.inc.php b/html/includes/dev-overview-data.inc.php index f99ea77f0..70909db70 100644 --- a/html/includes/dev-overview-data.inc.php +++ b/html/includes/dev-overview-data.inc.php @@ -7,30 +7,30 @@ # $uptime = @mysql_result(mysql_query("SELECT `attrib_value` FROM `devices_attribs` WHERE `device_id` = '" . $device['device_id'] . "' AND `attrib_type` = 'uptime'"), 0); $uptime = $device['uptime']; - if(is_file("images/devices/" . $device['hardware'] . ".gif")) { $dev_img = "
"; } elseif (is_file("images/devices/" . $device['hardware'] . ".jpg")) { $dev_img = "
"; } else { unset($dev_img); } - + if ($device['os'] == "ios") { formatCiscoHardware($device); } if ($device['features']) { $device['features'] = "(".$device['features'].")"; } $device['os_text'] = $os_text[$device[os]]; echo("$ddev_img - - - - - "); - +
Operating System" . $device['os_text'] . " " . $device['version'] . " " . $device['features'] . "
"); + if($device['hardware']) {echo(""); } + echo(" + + + "); + if($device['sysContact']) {echo(" diff --git a/html/includes/hostbox.inc b/html/includes/hostbox.inc index 3938e28d2..f7e56c61a 100644 --- a/html/includes/hostbox.inc +++ b/html/includes/hostbox.inc @@ -11,7 +11,7 @@ unset($image); $image = getImage($device['device_id']); - + if ($device['os'] == "ios") { formatCiscoHardware($device, true); } $device['os_text'] = $os_text[$device['os']]; echo('
Hardware " . $device['hardware']. "
Operating System" . $device['os_text'] . " " . $device['version'] . " " . $device['features'] . "
Contact " . htmlspecialchars($device['sysContact']). "