Marius Cramer
2014-08-25 b31c9d7bb641db612beb3bad4fc59d7c7489f1ae
interface/web/dns/form/dns_alias.tform.php
@@ -88,7 +88,7 @@
         'validators' => array (  0 => array ( 'type' => 'NOTEMPTY',
               'errmsg'=> 'name_error_empty'),
            1 => array ( 'type' => 'REGEX',
               'regex' => '/^[\w\.\-]{1,255}$/',
               'regex' => '/^[a-zA-Z0-9\.\-]{1,255}$/',
               'errmsg'=> 'name_error_regex'),
         ),
         'default' => '',
@@ -117,7 +117,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' => '',
@@ -138,6 +138,10 @@
      'ttl' => array (
         'datatype' => 'INTEGER',
         'formtype' => 'TEXT',
         'validators' => array (  0 => array ( 'type' => 'RANGE',
               'range' => '60:',
               'errmsg'=> 'ttl_range_error'),
         ),
         'default' => '86400',
         'value'  => '',
         'width'  => '10',