florian030
2014-02-25 cce9d63279d9078dd0292dd015be497600ac5f32
interface/web/dns/form/dns_ns.tform.php
@@ -86,7 +86,7 @@
               'type' => 'TOLOWER')
         ),
         'validators' => array (  0 => array ( 'type' => 'REGEX',
               'regex' => '/^[\w\.\-]{0,255}$/',
               'regex' => '/^[a-zA-Z0-9\.\-]{0,255}$/',
               'errmsg'=> 'name_error_regex'),
         ),
         'default' => '',
@@ -115,7 +115,7 @@
         'validators' => array (  0 => array ( 'type' => 'NOTEMPTY',
               'errmsg'=> 'data_error_empty'),
            1 => array ( 'type' => 'REGEX',
               'regex' => '/^[\w\.\-]{1,255}$/',
               'regex' => '/^[a-zA-Z0-9\.\-]{1,255}$/',
               'errmsg'=> 'data_error_regex'),
         ),
         'default' => '',
@@ -136,6 +136,10 @@
      'ttl' => array (
         'datatype' => 'INTEGER',
         'formtype' => 'TEXT',
         'validators' => array (  0 => array ( 'type' => 'RANGE',
               'range' => '60:',
               'errmsg'=> 'ttl_range_error'),
         ),
         'default' => '86400',
         'value'  => '',
         'width'  => '10',