Marius Cramer
2015-08-06 37b29231e47a0c4458dc1c15d98588f16f07e1e2
interface/web/dns/form/dns_cname.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' => '',
@@ -136,7 +136,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'