From c719dc0b1dd696e0cd6b51f09ee13c8263375f7c Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 07 Sep 2011 05:57:38 -0400 Subject: [PATCH] Fixed a warning in maildrop plugin. --- interface/web/dns/form/dns_soa.tform.php | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/interface/web/dns/form/dns_soa.tform.php b/interface/web/dns/form/dns_soa.tform.php index 66ac103..1abf9ce 100644 --- a/interface/web/dns/form/dns_soa.tform.php +++ b/interface/web/dns/form/dns_soa.tform.php @@ -82,7 +82,7 @@ 1 => array ( 'type' => 'UNIQUE', 'errmsg'=> 'origin_error_unique'), 2 => array ( 'type' => 'REGEX', - 'regex' => '/^[\w\.\-\/]{2,255}\.[a-zA-Z]{2,10}[\.]{0,1}$/', + 'regex' => '/^[\w\.\-\/]{2,255}\.[a-zA-Z0-9\-]{2,30}[\.]{0,1}$/', 'errmsg'=> 'origin_error_regex'), ), 'default' => '', @@ -175,6 +175,10 @@ 'also_notify' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', +// 'validators' => array ( 0 => array ( 'type' => 'ISIPV4', +// 'errmsg'=> 'also_notify_error_regex' +// ), +// ), 'default' => '', 'value' => '', 'width' => '30', -- Gitblit v1.9.1