From 1abe2f37b171e02379fb4b8c5ba79a7e4f4619fe Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 20 Apr 2011 16:53:20 +0000 Subject: [PATCH] prettier git-svn-id: http://www.observium.org/svn/observer/trunk@2112 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/hostbox.inc.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/html/includes/hostbox.inc.php b/html/includes/hostbox.inc.php index 7b4cf78da..cdce921ce 100644 --- a/html/includes/hostbox.inc.php +++ b/html/includes/hostbox.inc.php @@ -35,11 +35,10 @@ echo(' ' . $device['hardware'] . '
' . $device['features'] . '' echo(' ' . $device['os_text'] . '
' . $device['version'] . ''); -echo(' ' . formatUptime($device['uptime']) . '
'); +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 . '
'); +if (get_dev_attrib($device,'override_sysLocation_bool')) { $device['location'] = get_dev_attrib($device,'override_sysLocation_string'); } +echo(' ' . $device['location'] . ''); echo (' ');