ftimme
2012-05-30 2cb1563f63386b35a69e460051aa9b4a2851d104
interface/web/dns/form/dns_alias.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 A",
   'title'    => "DNS ALIAS",
   'width'    => 100,
   'template'    => "templates/dns_alias_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'
@@ -80,7 +80,7 @@
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'name_error_empty'),
                              1 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[\w\.\-]{1,64}$/',
                                          'regex' => '/^[\w\.\-]{1,255}$/',
                                          'errmsg'=> 'name_error_regex'),
                           ),
         'default'   => '',
@@ -91,7 +91,7 @@
      'type' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => 'A',
         'default'   => 'ALIAS',
         'value'      => '',
         'width'      => '5',
         'maxlength'   => '5'
@@ -102,7 +102,7 @@
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'data_error_empty'),
                              1 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[0-9\.]{10,15}$/',
                                          'regex' => '/^[\w\.\-]{1,64}$/',
                                          'errmsg'=> 'data_error_regex'),
                           ),
         'default'   => '',
@@ -134,6 +134,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
   ##################################