summaryrefslogtreecommitdiffstats
path: root/frontends/php/popup_httpstep.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-10 14:27:36 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-10 14:27:36 +0000
commitfa0fcc207fcc36a40bfc3b31685e0b96a8a46550 (patch)
tree77979ff64a6ce0bad8662d8bca07363a297002ba /frontends/php/popup_httpstep.php
parent5dbc4c82d74ab518d0993d7164bc34b926d9ced6 (diff)
downloadzabbix-fa0fcc207fcc36a40bfc3b31685e0b96a8a46550.tar.gz
zabbix-fa0fcc207fcc36a40bfc3b31685e0b96a8a46550.tar.xz
zabbix-fa0fcc207fcc36a40bfc3b31685e0b96a8a46550.zip
- added availability to yse ')(' characters in item keys (Eugene)
- improved management of trigger (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@4119 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/popup_httpstep.php')
-rw-r--r--frontends/php/popup_httpstep.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/frontends/php/popup_httpstep.php b/frontends/php/popup_httpstep.php
index 3773a5a3..b64663ba 100644
--- a/frontends/php/popup_httpstep.php
+++ b/frontends/php/popup_httpstep.php
@@ -100,13 +100,13 @@ function add_httpstep(formname,name,timeout,url,posts,required)
}
<?php
- echo "add_httpstep('".
- $_REQUEST['dstfrm']."','".
- $_REQUEST['name']."','".
- $_REQUEST['timeout']."','".
- $_REQUEST['url']."','".
- $_REQUEST['posts']."','".
- $_REQUEST['required']."');\n";
+ echo "add_httpstep(".
+ zbx_jsvalue($_REQUEST['dstfrm']).",".
+ zbx_jsvalue($_REQUEST['name']).",".
+ zbx_jsvalue($_REQUEST['timeout']).",".
+ zbx_jsvalue($_REQUEST['url']).",".
+ zbx_jsvalue($_REQUEST['posts']).",".
+ zbx_jsvalue($_REQUEST['required']).");\n";
?>
-->
</script>
@@ -141,15 +141,15 @@ function update_httpstep(formname,list_name,sid,name,timeout,url,posts,required)
}
<?php
- echo "update_httpstep('".
- $_REQUEST['dstfrm']."','".
- $_REQUEST['list_name']."','".
- $_REQUEST['sid']."','".
- $_REQUEST['name']."',".
- $_REQUEST['timeout'].",'".
- $_REQUEST['url']."','".
- zbx_jsstr($_REQUEST['posts'])."','".
- $_REQUEST['required']."');\n";
+ echo "update_httpstep(".
+ zbx_jsvalue($_REQUEST['dstfrm']).",".
+ zbx_jsvalue($_REQUEST['list_name']).",".
+ zbx_jsvalue($_REQUEST['sid']).",".
+ zbx_jsvalue($_REQUEST['name']).",".
+ zbx_jsvalue($_REQUEST['timeout']).",".
+ zbx_jsvalue($_REQUEST['url']).",".
+ zbx_jsvalue($_REQUEST['posts']).",".
+ zbx_jsvalue($_REQUEST['required']).");\n";
?>
-->
</script>