tbrehm
2009-02-27 f28f40f7a62b9a6fe939c05b10366b0d66c9ec1e
interface/web/dns/form/dns_srv.tform.php
@@ -33,7 +33,7 @@
*/
$form["title"]          = "DNS srv";
$form["title"]          = "DNS SRV";
$form["description"]    = "";
$form["name"]          = "dns_srv";
$form["action"]         = "dns_srv_edit.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 (
@@ -69,7 +69,7 @@
      'zone' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
         'default'   => intval($_REQUEST["zone"]),
         'default'   => @intval($_REQUEST["zone"]),
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
@@ -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'   => '',
@@ -91,7 +89,7 @@
      'type' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => 'A',
         'default'   => 'SRV',
         'value'      => '',
         'width'      => '5',
         'maxlength'   => '5'
@@ -101,9 +99,6 @@
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'data_error_empty'),
                              1 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[0-9\.]{10,15}$/',
                                          'errmsg'=> 'data_error_regex'),
                           ),
         'default'   => '',
         'value'      => '',