tbrehm
2009-01-27 cbda30058c0f61ae2afbd9085afcf841f32751a5
interface/web/dns/form/dns_srv.tform.php
@@ -51,7 +51,7 @@
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
   'title'    => "DNS srv",
   'title'    => "DNS SRV",
   'width'    => 100,
   'template'    => "templates/dns_srv_edit.htm",
   'fields'    => array (
@@ -77,10 +77,8 @@
      'name' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'name_error_empty'),
                              1 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[\w\.\-]{1,64}$/',
         'validators'   => array (    0 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[\w\.\-]{0,64}$/',
                                          'errmsg'=> 'name_error_regex'),
                           ),
         'default'   => '',