diff options
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; |
