Marius Cramer
2014-04-23 9b3069a1eacd3cbda0bfe565925e80f667f6c96d
interface/web/dns/form/dns_srv.tform.php
@@ -86,7 +86,7 @@
               'type' => 'TOLOWER')
         ),
         'validators' => array (  0 => array ( 'type' => 'REGEX',
               'regex' => '/^[a-zA-Z0-9\.\-]{0,255}$/',
               'regex' => '/^[a-zA-Z0-9\.\-_]{0,255}$/',
               'errmsg'=> 'name_error_regex'),
         ),
         'default' => '',
@@ -127,6 +127,10 @@
      'ttl' => array (
         'datatype' => 'INTEGER',
         'formtype' => 'TEXT',
         'validators' => array (  0 => array ( 'type' => 'RANGE',
               'range' => '60:',
               'errmsg'=> 'ttl_range_error'),
         ),
         'default' => '86400',
         'value'  => '',
         'width'  => '10',