summaryrefslogtreecommitdiffstats
path: root/frontends/php/httpconf.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-02-15 14:06:26 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-02-15 14:06:26 +0000
commitb6ecd0b1c0d40bca9a40ab08ddce2a2fa0aa80bf (patch)
tree38bb138746c59e28e6a21bea133ba900fbaeabf1 /frontends/php/httpconf.php
parentb3c8ef909f5494a311e39f89b16d81a4c559f280 (diff)
downloadzabbix-b6ecd0b1c0d40bca9a40ab08ddce2a2fa0aa80bf.tar.gz
zabbix-b6ecd0b1c0d40bca9a40ab08ddce2a2fa0aa80bf.tar.xz
zabbix-b6ecd0b1c0d40bca9a40ab08ddce2a2fa0aa80bf.zip
- added Clone functionality (Eugene)
- more PostgreSQL support - allow schama generation in any place calling git-svn-id: svn://svn.zabbix.com/trunk@3831 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/httpconf.php')
-rw-r--r--frontends/php/httpconf.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontends/php/httpconf.php b/frontends/php/httpconf.php
index 370d8883..9c8818e7 100644
--- a/frontends/php/httpconf.php
+++ b/frontends/php/httpconf.php
@@ -64,6 +64,7 @@ include_once "include/page_header.php";
"showdisabled"=> array(T_ZBX_INT, O_OPT, P_SYS, IN("0,1"), null),
"group_task"=> array(T_ZBX_STR, O_OPT, P_SYS|P_ACT, null, null),
+ "clone"=> array(T_ZBX_STR, O_OPT, P_SYS|P_ACT, null, null),
"save"=> array(T_ZBX_STR, O_OPT, P_SYS|P_ACT, null, null),
"delete"=> array(T_ZBX_STR, O_OPT, P_SYS|P_ACT, null, null),
"del_sel_step"=> array(T_ZBX_STR, O_OPT, P_SYS|P_ACT, null, null),
@@ -176,6 +177,11 @@ include_once "include/page_header.php";
unset($_REQUEST["httptestid"]);
unset($_REQUEST["form"]);
}
+ else if(isset($_REQUEST["clone"]) && isset($_REQUEST["httptestid"]))
+ {
+ unset($_REQUEST["httptestid"]);
+ $_REQUEST["form"] = "clone";
+ }
else if(isset($_REQUEST["save"]))
{
/*