From 45f11e2be23676e9efc084b7c447993e58f5b670 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 07 Mar 2007 16:20:39 -0500 Subject: [PATCH] Update of the mail and dns module. --- interface/web/mail/form/mail_blacklist.tform.php | 30 ++++++++++++++++++------------ 1 files changed, 18 insertions(+), 12 deletions(-) diff --git a/interface/web/mail/form/mail_blacklist.tform.php b/interface/web/mail/form/mail_blacklist.tform.php index 6b91c3a..a349680 100644 --- a/interface/web/mail/form/mail_blacklist.tform.php +++ b/interface/web/mail/form/mail_blacklist.tform.php @@ -37,8 +37,8 @@ $form["description"] = ""; $form["name"] = "mail_blacklist"; $form["action"] = "mail_blacklist_edit.php"; -$form["db_table"] = "mail_blacklist"; -$form["db_table_idx"] = "blacklist_id"; +$form["db_table"] = "mail_access"; +$form["db_table_idx"] = "access_id"; $form["db_history"] = "yes"; $form["tab_default"] = "blacklist"; $form["list_default"] = "mail_blacklist_list.php"; @@ -69,30 +69,36 @@ ), 'value' => '' ), - 'address' => array ( + 'source' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'address_error_notempty'), - ), 'default' => '', + 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', + 'errmsg'=> 'source_error_notempty'), + ), 'value' => '', 'width' => '30', 'maxlength' => '255' ), - 'recipient' => array ( + 'access' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', - 'default' => '', - 'value' => '', + 'default' => 'REJECT', + 'value' => 'REJECT', 'width' => '30', 'maxlength' => '255' + ), + 'type' => array ( + 'datatype' => 'VARCHAR', + 'formtype' => 'SELECT', + 'default' => 'y', + 'value' => array('recipient' => 'Recipient', 'sender' => 'Sender', 'client' => 'Client') ), 'active' => array ( - 'datatype' => 'INTEGER', + 'datatype' => 'VARCHAR', 'formtype' => 'CHECKBOX', - 'default' => '1', - 'value' => '1' + 'default' => 'y', + 'value' => array(0 => 'n',1 => 'y') ), ################################## # ENDE Datatable fields -- Gitblit v1.9.1