From 10b4c85a7686da07bddb5779f8ceea48acdf412e Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 03 Jan 2013 06:51:45 -0500 Subject: [PATCH] Merged revisons 3687-3748 from 3.0.5 stable branch. --- interface/web/dns/form/dns_slave.tform.php | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/interface/web/dns/form/dns_slave.tform.php b/interface/web/dns/form/dns_slave.tform.php index 038f26b..744aa87 100644 --- a/interface/web/dns/form/dns_slave.tform.php +++ b/interface/web/dns/form/dns_slave.tform.php @@ -106,15 +106,8 @@ 'ns' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', - 'filters' => array( 0 => array( 'event' => 'SAVE', - 'type' => 'IDNTOASCII'), - 1 => array( 'event' => 'SHOW', - 'type' => 'IDNTOUTF8'), - 2 => array( 'event' => 'SAVE', - 'type' => 'TOLOWER') - ), 'validators' => array ( 0 => array ( 'type' => 'REGEX', - 'regex' => '/^[\w\.\-]{1,255}$/', + 'regex' => '/^[0-9\.]{1,255}$/', 'errmsg'=> 'ns_error_regex'), ), 'default' => '', -- Gitblit v1.9.1