From 75e9d0a9e58d7bc41409eb8b00c977fa30bd0bc6 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Fri, 1 Apr 2011 15:20:06 +0000 Subject: [PATCH] also show overridden vs configured sysContact on the device overview page git-svn-id: http://www.observium.org/svn/observer/trunk@2003 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/dev-overview-data.inc.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/html/includes/dev-overview-data.inc.php b/html/includes/dev-overview-data.inc.php index 6f5dcff4f..7f14160bf 100644 --- a/html/includes/dev-overview-data.inc.php +++ b/html/includes/dev-overview-data.inc.php @@ -37,7 +37,16 @@ echo(' if ($device['sysContact']) { echo(' - Contact + Contact'); + if (get_dev_attrib($device,'override_sysContact_bool')) + { + echo(' + ' . htmlspecialchars(get_dev_attrib($device,'override_sysContact_string')) . ' + + + SNMP Contact'); + } + echo(' ' . htmlspecialchars($device['sysContact']). ' '); }