ftimme
2012-05-30 2cb1563f63386b35a69e460051aa9b4a2851d104
interface/web/dns/form/dns_srv.tform.php
@@ -78,7 +78,7 @@
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[\w\.\-]{0,64}$/',
                                          'regex' => '/^[\w\.\-]{0,255}$/',
                                          'errmsg'=> 'name_error_regex'),
                           ),
         'default'   => '',
@@ -99,13 +99,15 @@
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'data_error_empty'),
                               1 => array (   'type'   => 'REGEX',
                                           'regex' => '/^[\w\.\-]{0,64}\s[\w\.\-]{0,64}\s[\w\.\-]{0,64}$/',
                                           'errmsg'=> 'srv_error_regex'),
                           ),
         'default'   => '',
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
      ),
      /*
      'aux' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
@@ -114,7 +116,6 @@
         'width'      => '10',
         'maxlength'   => '10'
      ),
      */
      'ttl' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
@@ -129,6 +130,22 @@
         'default'   => 'Y',
         'value'      => array(0 => 'N',1 => 'Y')
      ),
      'stamp' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
      ),
      'serial' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'width'      => '10',
         'maxlength'   => '10'
      ),
   ##################################
   # ENDE Datatable fields
   ##################################