summaryrefslogtreecommitdiffstats
path: root/frontends/php/config.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-01 08:50:56 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-01 08:50:56 +0000
commit2a4139ac1b54c99c33951c86c0d057b542fcd7f5 (patch)
treedd165be1a37d0ec6c0de2f3c030fda41874fc49a /frontends/php/config.php
parentd07f777ed2cf0103ed550166f9b0e783db064255 (diff)
downloadzabbix-2a4139ac1b54c99c33951c86c0d057b542fcd7f5.tar.gz
zabbix-2a4139ac1b54c99c33951c86c0d057b542fcd7f5.tar.xz
zabbix-2a4139ac1b54c99c33951c86c0d057b542fcd7f5.zip
MInor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2593 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/config.php')
-rw-r--r--frontends/php/config.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/frontends/php/config.php b/frontends/php/config.php
index 889497bd..20b95829 100644
--- a/frontends/php/config.php
+++ b/frontends/php/config.php
@@ -52,12 +52,12 @@
"alarm_history"=> array(T_ZBX_INT, O_NO, NULL, BETWEEN(0,65535),'in_array({config},array(0,5))&&({save}=="Save")'),
"refresh_unsupported"=> array(T_ZBX_INT, O_NO, NULL, BETWEEN(0,65535),'in_array({config},array(0,5))&&({save}=="Save")'),
- "mediatypeid"=> array(T_ZBX_INT, O_NO, P_SYS, BETWEEN(0,65535),'({config}==1)&&(isset({form}))'),
- "type"=> array(T_ZBX_INT, O_NO, NULL, IN("0,1"), '({config}==1)&&(isset({save}))'),
- "description"=> array(T_ZBX_STR, O_NO, NULL, NOT_EMPTY, '({config}==1)&&(isset({save}))'),
- "smtp_server"=> array(T_ZBX_STR, O_NO, NULL, NOT_EMPTY, '({config}==1)&&({type}==0)'),
- "smtp_helo"=> array(T_ZBX_STR, O_NO, NULL, NOT_EMPTY, '({config}==1)&&({type}==0)'),
- "smtp_email"=> array(T_ZBX_STR, O_NO, NULL, NOT_EMPTY, '({config}==1)&&({type}==0)'),
+ "mediatypeid"=> array(T_ZBX_INT, O_NO, P_SYS, BETWEEN(0,65535),'({config}==1)&&isset({form})'),
+ "type"=> array(T_ZBX_INT, O_OPT, NULL, IN("0,1"), '({config}==1)&&(isset({save}))'),
+ "description"=> array(T_ZBX_STR, O_OPT, NULL, NOT_EMPTY, '({config}==1)&&(isset({save}))'),
+ "smtp_server"=> array(T_ZBX_STR, O_OPT, NULL, NOT_EMPTY, '({config}==1)&&({type}==0)'),
+ "smtp_helo"=> array(T_ZBX_STR, O_OPT, NULL, NOT_EMPTY, '({config}==1)&&({type}==0)'),
+ "smtp_email"=> array(T_ZBX_STR, O_OPT, NULL, NOT_EMPTY, '({config}==1)&&({type}==0)'),
"exec_path"=> array(T_ZBX_STR, O_OPT, NULL, NOT_EMPTY, '({config}==1)&&({type}==1)&&isset({save})'),
// "exec_path"=> array(T_ZBX_STR, O_OPT, NULL, NOT_EMPTY, '({config}==1)&&({type}==1)'),