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

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

Removed old addmodify links

---

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

diff --git a/share/frontend/wui/classes/WuiMap.php 
b/share/frontend/wui/classes/WuiMap.php
index 4621a21..6b46f47 100644
--- a/share/frontend/wui/classes/WuiMap.php
+++ b/share/frontend/wui/classes/WuiMap.php
@@ -636,7 +636,7 @@ class WuiMap extends GlobalMap {
                // Edit link
                $tooltipText .= "<li><a 
style='background-image:url(".$this->CORE->getMainCfg()->getValue('paths','htmlbase')."/frontend/wui/images/internal/modify.png)'"
                  ." href=\"#\" 
onclick=\"popupWindow('".$this->CORE->getLang()->getText('change')."',"
-                       
."getSyncRequest('./ajax_handler.php?action=getFormContents&form=addmodify&do=modify&map=".$this->MAPCFG->getName()."&type=".$obj['type']."&id=".$obj['id']."',true,false));contextHide();\">"
+                       
."getSyncRequest('".$this->CORE->getMainCfg()->getValue('paths', 
'htmlbase')."/server/core/ajax_handler.php?mod=Map&act=addModify&do=modify&map=".$this->MAPCFG->getName()."&type=".$obj['type']."&id=".$obj['id']."',true,false));contextHide();\">"
                        
."<span>".$this->CORE->getLang()->getText('change')."</span></a></li>";
                
                // Position/Size link on textboxes/lines
diff --git a/share/frontend/wui/js/wui.js b/share/frontend/wui/js/wui.js
index 91797cd..2bd267e 100644
--- a/share/frontend/wui/js/wui.js
+++ b/share/frontend/wui/js/wui.js
@@ -328,9 +328,9 @@ function get_click_pos(e) {
                
                follow_mouse = false;
                if(action_click == 'add') {
-                       link = 
'./ajax_handler.php?action=getFormContents&form=addmodify&do=add&map='+mapname+'&type='+objtype+'&coords='+coords+'&viewType='+viewType;
+                       link = 
oGeneralProperties.path_server+'?mod=Map&act=addModify&do=add&map='+mapname+'&type='+objtype+'&coords='+coords+'&viewType='+viewType;
                } else if(action_click == 'modify') {
-                       link = 
'./ajax_handler.php?action=getFormContents&form=addmodify&do=modify&map='+mapname+'&type='+objtype+'&id='+objid+'&coords='+coords;
+                       link = 
oGeneralProperties.path_server+'?mod=Map&act=addModify&do=modify&map='+mapname+'&type='+objtype+'&id='+objid+'&coords='+coords;
                }
                
                // FIXME: Title "+get_label('properties')+"


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