diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-12-27 18:34:39 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-12-27 18:34:39 +0000 |
| commit | 09554d562e4d076bc5d1178d6e6f13eeae5f8f02 (patch) | |
| tree | 84fdb3a34554543eb9154c8cbd9d653e1ca429f2 /frontends/php/include/forms.inc.php | |
| parent | 461bb2a4ff683a38e6b2066f8c3fec67e110e44a (diff) | |
| download | zabbix-09554d562e4d076bc5d1178d6e6f13eeae5f8f02.tar.gz zabbix-09554d562e4d076bc5d1178d6e6f13eeae5f8f02.tar.xz zabbix-09554d562e4d076bc5d1178d6e6f13eeae5f8f02.zip | |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2434 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
| -rw-r--r-- | frontends/php/include/forms.inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index 3e046467..04300378 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -1626,7 +1626,7 @@ $h2=$h2."<select class=\"biginput\" name=\"operator\">"; if(in_array($conditiontype,array(CONDITION_TYPE_GROUP, CONDITION_TYPE_HOST,CONDITION_TYPE_TRIGGER,CONDITION_TYPE_TRIGGER_SEVERITY,CONDITION_TYPE_TRIGGER_VALUE))) $h2=$h2.form_select("operator",CONDITION_OPERATOR_EQUAL,"="); - if(in_array($conditiontype,array(CONDITION_TYPE_GROUP, CONDITION_TYPE_HOST,CONDITION_TYPE_TRIGGER,CONDITION_TYPE_TRIGGER_SEVERITY,CONDITION_TYPE_TRIGGER_VALUE))) + if(in_array($conditiontype,array(CONDITION_TYPE_GROUP, CONDITION_TYPE_HOST,CONDITION_TYPE_TRIGGER,CONDITION_TYPE_TRIGGER_SEVERITY))) $h2=$h2.form_select("operator",CONDITION_OPERATOR_NOT_EQUAL,"<>"); if(in_array($conditiontype,array(CONDITION_TYPE_TRIGGER_NAME))) $h2=$h2.form_select("operator",CONDITION_OPERATOR_LIKE,"like"); @@ -1634,7 +1634,7 @@ $h2=$h2.form_select("operator",CONDITION_OPERATOR_NOT_LIKE,"not like"); if(in_array($conditiontype,array(CONDITION_TYPE_TIME_PERIOD))) $h2=$h2.form_select("operator",CONDITION_OPERATOR_IN,"in"); - if(in_array($conditiontype,array(CONDITION_TYPE_TRIGGER_VALUE))) + if(in_array($conditiontype,array(CONDITION_TYPE_TRIGGER_SEVERITY))) $h2=$h2.form_select("operator",CONDITION_OPERATOR_MORE_EQUAL,">="); $h2=$h2."</SELECT>"; // echo $h2; @@ -1661,8 +1661,8 @@ else if($conditiontype == CONDITION_TYPE_TRIGGER_VALUE) { $h2=$h2."<select class=\"biginput\" name=\"value\">"; - $h2=$h2.form_select("value",0,"ON"); - $h2=$h2.form_select("value",1,"OFF"); + $h2=$h2.form_select("value",0,"OFF"); + $h2=$h2.form_select("value",1,"ON"); $h2=$h2."</SELECT>"; } else if($conditiontype == CONDITION_TYPE_TIME_PERIOD) |
