Module: nagvis
Branch: master
Commit: c8055cf7caef1f7603742e60cb947cf37a048893
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=c8055cf7caef1f7603742e60cb947cf37a048893

Author: LaMi <[email protected]>
Date:   Sat Jan 16 16:47:01 2010 +0100

Fixed wrong replacement of service_description macro in WUI in labels

---

 share/frontend/wui/classes/WuiMap.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/frontend/wui/classes/WuiMap.php 
b/share/frontend/wui/classes/WuiMap.php
index 6b46f47..9fdab3f 100644
--- a/share/frontend/wui/classes/WuiMap.php
+++ b/share/frontend/wui/classes/WuiMap.php
@@ -417,7 +417,7 @@ class WuiMap extends GlobalMap {
                }
                
                if($obj['type'] == 'service') {
-                       $label = str_replace('[name]', $obj['name'], $label);
+                       $label = str_replace('[service_description]', 
$obj['service_description'], $label);
                }
                
                $ret  = '<div '.$id.' class="object_label" 
style="background:'.$obj['label_background'].';border-color:'.$obj['label_border'].';left:'.$obj['label_x'].'px;top:'.$obj['label_y'].'px;width:'.$obj['label_width'].';z-index:'.($obj['z']+1).';overflow:visible;">';


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to