tbrehm
2005-11-24 eac88333c4335a25a501b3badd76e558fb68f708
interface/web/sites/form/mail_alias.tform.php
@@ -40,8 +40,8 @@
$form["db_table"]      = "mail_redirect";
$form["db_table_idx"]   = "redirect_id";
$form["db_history"]      = "yes";
$form["tab_default"]   = "mailbox";
$form["list_default"]   = "mail_box_list.php";
$form["tab_default"]   = "alias";
$form["list_default"]   = "mail_alias_list.php";
$form["auth"]         = 'yes'; // yes / no
$form["auth_preset"]["userid"]  = 0; // 0 = id of the user, > 0 id must match with id of current user
@@ -50,10 +50,10 @@
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['mailbox'] = array (
   'title'    => "Mailbox",
$form["tabs"]['alias'] = array (
   'title'    => "Email alias",
   'width'    => 100,
   'template'    => "templates/mail_box_mailbox_edit.htm",
   'template'    => "templates/mail_alias_edit.htm",
   'fields'    => array (
   ##################################
   # Begin Datatable fields
@@ -79,14 +79,22 @@
         'width'      => '30',
         'maxlength'   => '255'
      ),
      'cryptpwd' => array (
      'destination' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'PASSWORD',
         'encryption'=> 'CRYPT',
         'formtype'   => 'SELECT',
         'default'   => '',
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
         'datasource'   => array (    'type'         => 'SQL',
                              'querystring'    => 'SELECT email FROM mail_box WHERE {AUTHSQL} ORDER BY email',
                              'keyfield'      => 'email',
                              'valuefield'   => 'email'
                            ),
         'value'      => ''
      ),
      'type' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'SELECT',
         'default'   => '',
         'value'      => array('alias' => 'Alias','forward'=>'Forward')
      ),
      'active' => array (
         'datatype'   => 'INTEGER',
@@ -100,33 +108,6 @@
   )
);
$form["tabs"]['autoresponder'] = array (
   'title'    => "Autoresponder",
   'width'    => 100,
   'template'    => "templates/mail_box_autoresponder_edit.htm",
   'fields'    => array (
   ##################################
   # Begin Datatable fields
   ##################################
      'autoresponder_text' => array (
         'datatype'   => 'TEXT',
         'formtype'   => 'TEXTAREA',
         'default'   => '',
         'value'      => '',
         'cols'      => '30',
         'rows'      => '15'
      ),
      'autoresponder' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'CHECKBOX',
         'default'   => '1',
         'value'      => '1'
      ),
   ##################################
   # ENDE Datatable fields
   ##################################
   )
);
?>