diff options
author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-05 12:01:53 +0000 |
---|---|---|
committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-05 12:01:53 +0000 |
commit | 31d9eeed8ba49cac9b2b9ebb3d1c77558df5ff0f (patch) | |
tree | 00ed2cfb5b7077ed95225b61f091dd3400f516ea /frontends/php/map.php | |
parent | b1a528879c1e7e7d7886a273cf954741d057e038 (diff) | |
download | zabbix-31d9eeed8ba49cac9b2b9ebb3d1c77558df5ff0f.tar.gz zabbix-31d9eeed8ba49cac9b2b9ebb3d1c77558df5ff0f.tar.xz zabbix-31d9eeed8ba49cac9b2b9ebb3d1c77558df5ff0f.zip |
- [DEV-198] Correct representation of disabled elements on the map (hosts, triggers)
git-svn-id: svn://svn.zabbix.com/trunk@5870 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/map.php')
-rw-r--r-- | frontends/php/map.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/frontends/php/map.php b/frontends/php/map.php index f88e7565..4a8f08a7 100644 --- a/frontends/php/map.php +++ b/frontends/php/map.php @@ -190,6 +190,12 @@ include_once "include/page_header.php"; $label_line = $el_info['name']; } + if (isset($el_info['disabled']) && $el_info['disabled'] == 1) + { + $info_line = S_DISABLED_BIG; + $label_color = $gray; + } + unset($el_info); if($db_element["elementtype"] == SYSMAP_ELEMENT_TYPE_HOST) @@ -198,9 +204,6 @@ include_once "include/page_header.php"; if( $label_type==MAP_LABEL_TYPE_IP ) $label_line=$host["ip"]; - - if( $host["status"] == HOST_STATUS_NOT_MONITORED ) - $label_color = $gray; } if($label_line=="" && $info_line=="") continue; |