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

Author: LaMi <[email protected]>
Date:   Sat Jan 16 13:28:26 2010 +0100

WUI AddModify dialog hides deprectaed attributes now

---

 share/server/core/classes/WuiViewMapAddModify.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/share/server/core/classes/WuiViewMapAddModify.php 
b/share/server/core/classes/WuiViewMapAddModify.php
index 1fa14a7..d185b80 100644
--- a/share/server/core/classes/WuiViewMapAddModify.php
+++ b/share/server/core/classes/WuiViewMapAddModify.php
@@ -163,6 +163,11 @@ class WuiViewMapAddModify {
                
                // loop all valid properties for that object type
                foreach($this->MAPCFG->getValidObjectType($this->aOpts['type']) 
as $propname => $prop) {
+                       // Skip deprecated attributes
+                       if(isset($prop['deprecated']) && $prop['deprecated'] == 
'1') {
+                               continue;
+                       }
+                       
                        $style = '';
                        $class = '';
                        $isDefaultValue = FALSE;


------------------------------------------------------------------------------
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