From bfe7bc073c19065dea8bf50f8e9f8308220bcd01 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 20 Apr 2011 17:03:54 +0000 Subject: [PATCH] prettier :) git-svn-id: http://www.observium.org/svn/observer/trunk@2114 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/hostbox.inc.php | 16 ++++++++++++---- html/pages/devices.inc.php | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) 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