From 348aef798afc67d45e60022b40a2a5becac8ebc4 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 23 Nov 2005 18:33:07 -0500 Subject: [PATCH] added mail_box --- interface/web/sites/form/mail_box.tform.php | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 40 insertions(+), 3 deletions(-) diff --git a/interface/web/sites/form/mail_box.tform.php b/interface/web/sites/form/mail_box.tform.php index 5f2c940..68c28a2 100644 --- a/interface/web/sites/form/mail_box.tform.php +++ b/interface/web/sites/form/mail_box.tform.php @@ -53,16 +53,24 @@ $form["tabs"]['mailbox'] = array ( 'title' => "Mailbox", 'width' => 100, - 'template' => "templates/mail_box_edit.htm", + 'template' => "templates/mail_box_mailbox_edit.htm", 'fields' => array ( ################################## # Begin Datatable fields ################################## + 'server_id' => array ( + 'datatype' => 'INTEGER', + 'formtype' => 'TEXT', + 'default' => '', + 'value' => '', + 'width' => '30', + 'maxlength' => '255' + ), 'email' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'email_error_empty'), + 'validators' => array ( 0 => array ( 'type' => 'ISEMAIL', + 'errmsg'=> 'email_error_isemail'), 1 => array ( 'type' => 'UNIQUE', 'errmsg'=> 'email_error_unique'), ), @@ -74,6 +82,7 @@ 'cryptpwd' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'PASSWORD', + 'encryption'=> 'CRYPT', 'default' => '', 'value' => '', 'width' => '30', @@ -91,5 +100,33 @@ ) ); +$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 + ################################## + ) +); + ?> \ No newline at end of file -- Gitblit v1.9.1