From 4bd960b10d9f32cb8a82a0718caaa005768c107c Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 24 Oct 2012 06:07:53 -0400 Subject: [PATCH] Merged revisions 3557-3594 from 3.0.5 stable branch. --- interface/web/dns/form/dns_soa.tform.php | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/interface/web/dns/form/dns_soa.tform.php b/interface/web/dns/form/dns_soa.tform.php index 00c2aac..4481d5a 100644 --- a/interface/web/dns/form/dns_soa.tform.php +++ b/interface/web/dns/form/dns_soa.tform.php @@ -225,10 +225,14 @@ 'also_notify' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', -// 'validators' => array ( 0 => array ( 'type' => 'ISIPV4', + 'validators' => array ( 0 => array ( 'type' => 'REGEX', + 'regex' => '/^(((25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})(;){0,1}(\ ){0,1}){0,10}$/', + 'errmsg'=> 'also_notify_error_regex' + ), +// 0 => array ( 'type' => 'ISIPV4', // 'errmsg'=> 'also_notify_error_regex' // ), -// ), + ), 'default' => '', 'value' => '', 'width' => '30', -- Gitblit v1.9.1