mcramer
2012-09-26 8c1761c64a5c6a24575f43e5afe7a1661cb7f34f
interface/web/dns/form/dns_hinfo.tform.php
@@ -32,6 +32,7 @@
*/
global $app;
$form["title"]          = "DNS hinfo";
$form["description"]    = "";
@@ -69,7 +70,7 @@
      'zone' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
         'default'   => @intval($_REQUEST["zone"]),
         'default'   => @$app->functions->intval($_REQUEST["zone"]),
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
@@ -77,6 +78,13 @@
      'name' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
            'filters'   => array( 0 => array( 'event' => 'SAVE',
                                              'type' => 'IDNTOASCII'),
                                  1 => array( 'event' => 'SHOW',
                                              'type' => 'IDNTOUTF8'),
                                  2 => array( 'event' => 'SAVE',
                                              'type' => 'TOLOWER')
                                ),
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'name_error_empty'),
                              1 => array (   'type'   => 'REGEX',
@@ -131,6 +139,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
   ##################################