tbrehm
2009-10-27 3764dc4ad0b85b25cfe1247f68c5df00a2f0445d
interface/web/dns/form/dns_soa.tform.php
@@ -94,7 +94,7 @@
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[\w\.\-]{0,64}$/',
                                          'regex' => '/^[\w\.\-]{1,64}$/',
                                          'errmsg'=> 'ns_error_regex'),
                           ),
         'default'   => '',
@@ -107,8 +107,8 @@
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'mbox_error_empty'),
                              0 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[\w\.\-]{0,64}$/',
                              1 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[[a-zA-Z0-9\.\-]{0,64}\.$/',
                                          'errmsg'=> 'mbox_error_regex'),
                           ),
         'default'   => '',
@@ -172,6 +172,22 @@
         'width'      => '30',
         'maxlength'   => '255'
      ),
      'also_notify' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
      ),
      'update_acl' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
      ),
      'active' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'CHECKBOX',
@@ -202,7 +218,7 @@
            'class'   => 'plugin_listview',
           'options' => array(
            'listdef' => 'list/dns_a.list.php',
            'sqlextwhere' => "zone = ".intval($_REQUEST['id']),
            'sqlextwhere' => "zone = ".@intval(@$_REQUEST['id']),
            'sql_order_by' => "ORDER BY type, name"
         )
        )