Marius Cramer
2015-05-19 8603b4abde47d11ce9900166cd38ed8f46dc11d2
interface/web/dns/form/dns_a.tform.php
@@ -86,7 +86,7 @@
               'type' => 'TOLOWER')
         ),
         'validators' => array (  0 => array ( 'type' => 'REGEX',
               'regex' => '/^[\a-zA-Z0-9\.\-\*]{0,64}$/',
               'regex' => '/^[a-zA-Z0-9\.\-\*]{0,64}$/',
               'errmsg'=> 'name_error_regex'),
         ),
         'default' => '',
@@ -129,7 +129,11 @@
      'ttl' => array (
         'datatype' => 'INTEGER',
         'formtype' => 'TEXT',
         'default' => '86400',
         'validators' => array (  0 => array ( 'type' => 'RANGE',
               'range' => '60:',
               'errmsg'=> 'ttl_range_error'),
         ),
         'default' => '3600',
         'value'  => '',
         'width'  => '10',
         'maxlength' => '10'