From 3d3f986d13a0bfa8cd9578b8ce7401759b736808 Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Thu, 13 Mar 2014 07:07:44 -0400 Subject: [PATCH] Implemented: FS#3235 - Allow 'any' value in zone xfer field --- interface/web/dns/form/dns_soa.tform.php | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/interface/web/dns/form/dns_soa.tform.php b/interface/web/dns/form/dns_soa.tform.php index e4237e0..1e4f9a6 100644 --- a/interface/web/dns/form/dns_soa.tform.php +++ b/interface/web/dns/form/dns_soa.tform.php @@ -217,11 +217,20 @@ 'xfer' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', + 'validators' => array ( 0 => array ( 'type' => 'CUSTOM', + 'class' => 'validate_dns', + 'function' => 'validate_xfer', + 'allowempty' => 'y', + 'separator' => ',', + 'errmsg'=> 'xfer_error_regex'), + ), + /* 'validators' => array ( 0 => array ( 'type' => 'ISIP', 'allowempty' => 'y', 'separator' => ',', 'errmsg'=> 'xfer_error_regex'), ), + */ 'default' => '', 'value' => '', 'width' => '30', -- Gitblit v1.9.1