diff --git a/html/includes/hostbox.inc.php b/html/includes/hostbox.inc.php index 77e810311..7b4cf78da 100644 --- a/html/includes/hostbox.inc.php +++ b/html/includes/hostbox.inc.php @@ -22,31 +22,25 @@ echo(' ' . $image . ' ' . generate_device_link($device) . ' -
' . $device['sysName'] . ' - '); +
' . $device['sysName'] . '' + ); +echo (''); if ($port_count) { echo(' '.$port_count); } echo('
'); if ($sensor_count) { echo(' '.$sensor_count); } +echo (''); -echo(' - ' . $device['os_text'] . '
- ' . $device['version'] . ' - ' . $device['hardware'] . '
- ' . $device['features'] . ' - ' . formatUptime($device['uptime']) . ' -
'); -if (get_dev_attrib($device,'override_sysLocation_bool')) -{ - echo(get_dev_attrib($device,'override_sysLocation_string')); -} -else -{ - echo($device['location']); -} -echo(' - - - '); +echo(' ' . $device['hardware'] . '
' . $device['features'] . ''); -?> \ No newline at end of file +echo(' ' . $device['os_text'] . '
' . $device['version'] . ''); + +echo(' ' . formatUptime($device['uptime']) . '
'); + +$location = $device['location']; +if (get_dev_attrib($device,'override_sysLocation_bool')) { $location = get_dev_attrib($device,'override_sysLocation_string'); } +echo(' ' . $location . '
'); + +echo (' '); + +?> diff --git a/html/pages/devices.inc.php b/html/pages/devices.inc.php index 4c1fa5997..b3008156d 100644 --- a/html/pages/devices.inc.php +++ b/html/pages/devices.inc.php @@ -121,7 +121,7 @@ if ($_GET['status'] == "alerted") } echo(' -'); +'); $device_query = mysql_query($sql); while ($device = mysql_fetch_assoc($device_query)) @@ -138,4 +138,4 @@ while ($device = mysql_fetch_assoc($device_query)) echo("
DeviceOperating SystemPlatformUptime
DeviceOperating SystemPlatformUptimeLocation
"); -?> \ No newline at end of file +?>