diff --git a/html/includes/hostbox.inc.php b/html/includes/hostbox.inc.php index cdce921ce..233119af8 100644 --- a/html/includes/hostbox.inc.php +++ b/html/includes/hostbox.inc.php @@ -1,9 +1,17 @@ ' . $image . ' ' . generate_device_link($device) . ' @@ -38,7 +46,7 @@ echo(' ' . $device['os_text'] . '
' . $device['version'] . ''); echo(' ' . formatUptime($device['uptime']) . '
'); if (get_dev_attrib($device,'override_sysLocation_bool')) { $device['location'] = get_dev_attrib($device,'override_sysLocation_string'); } -echo(' ' . $device['location'] . ''); +echo(' ' . truncate($device['location'],32, '') . ''); echo (' '); diff --git a/html/pages/devices.inc.php b/html/pages/devices.inc.php index 138acce18..b824ec4fb 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))
DeviceOperating SystemPlatformUptime
DeviceOperating SystemPlatformUptime/Location