summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-13 14:58:56 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-13 14:58:56 +0000
commitf459deea77b1b44cff468c5b22fb5137f502a33b (patch)
treefcd609083ab86b8920b566773332e2f5a53eaca9 /frontends/php/include/forms.inc.php
parentaf58b99d1c253e38600ef774ed710f529bd048d9 (diff)
downloadzabbix-f459deea77b1b44cff468c5b22fb5137f502a33b.tar.gz
zabbix-f459deea77b1b44cff468c5b22fb5137f502a33b.tar.xz
zabbix-f459deea77b1b44cff468c5b22fb5137f502a33b.zip
- removed support of action repeats from GUI (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3889 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php31
1 files changed, 0 insertions, 31 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index f9a2bd29..70bd4464 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -2538,24 +2538,10 @@
$subject = $action["subject"];
$message = $action["message"];
$recipient = $action["recipient"];
- $maxrepeats = $action["maxrepeats"];
- $repeatdelay = $action["repeatdelay"];
$status = $action["status"];
$scripts = $action["scripts"];
$evaltype = $action["evaltype"];
- if(isset($_REQUEST["repeat"]))
- {
- $repeat=$_REQUEST["repeat"];
- }
- else if($maxrepeats==0)
- {
- $repeat=0;
- }
- else
- {
- $repeat=1;
- }
$result=DBselect("select conditiontype, operator, value from conditions".
" where actionid=".$_REQUEST["actionid"]." order by conditiontype");
@@ -2580,9 +2566,6 @@
$scope = get_request("scope",0);
$recipient = get_request("recipient",RECIPIENT_TYPE_GROUP);
$severity = get_request("severity",0);
- $maxrepeats = get_request("maxrepeats",0);
- $repeatdelay = get_request("repeatdelay",600);
- $repeat = get_request("repeat",0);
$status = get_request("status",ACTION_STATUS_ENABLED);
$uid = get_request("userid",0);
$scripts = get_request("scripts","");
@@ -2842,20 +2825,6 @@
$frmAction->AddVar("message",$message);
}
- $cmbRepeat = new CComboBox('repeat',$repeat,'submit()');
- $cmbRepeat->AddItem(0,S_NO_REPEATS);
- $cmbRepeat->AddItem(1,S_REPEAT);
- $frmAction->AddRow(S_REPEAT, $cmbRepeat);
-
- if($repeat>0)
- {
- $frmAction->AddRow(S_NUMBER_OF_REPEATS, new CTextBox('maxrepeats',$maxrepeats,5));
- $frmAction->AddRow(S_DELAY_BETWEEN_REPEATS, new CTextBox('repeatdelay',$repeatdelay,5));
- } else {
- $frmAction->AddVar("maxrepeats",$maxrepeats);
- $frmAction->AddVar("repeatdelay",$repeatdelay);
- }
-
$cmbStatus = new CComboBox('status',$status);
$cmbStatus->AddItem(0,S_ENABLED);
$cmbStatus->AddItem(1,S_DISABLED);