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'