From 75ae20a22be7615e991f13400c276bc13c24ba4c Mon Sep 17 00:00:00 2001 From: wyrie <wyrie@ispconfig3> Date: Thu, 17 Dec 2009 05:19:28 -0500 Subject: [PATCH] Implemented: FS#1003 - Autoresponder: Start and end date (Interface) --- interface/web/mail/form/mail_user.tform.php | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/interface/web/mail/form/mail_user.tform.php b/interface/web/mail/form/mail_user.tform.php index a96d80c..22dea84 100644 --- a/interface/web/mail/form/mail_user.tform.php +++ b/interface/web/mail/form/mail_user.tform.php @@ -188,6 +188,24 @@ 'default' => 'n', 'value' => array(1 => 'y',0 => 'n') ), + 'autoresponder_start_date' => array ( + 'datatype' => 'DATETIME', + 'formtype' => 'DATETIME', + 'validators'=> array ( 0 => array ( 'type' => 'CUSTOM', + 'class' => 'validate_autoresponder', + 'function' => 'start_date', + 'errmsg'=> 'autoresponder_start_date_isfuture'), + ), + ), + 'autoresponder_end_date' => array ( + 'datatype' => 'DATETIME', + 'formtype' => 'DATETIME', + 'validators'=> array ( 0 => array ( 'type' => 'CUSTOM', + 'class' => 'validate_autoresponder', + 'function' => 'end_date', + 'errmsg'=> 'autoresponder_end_date_isgreater'), + ), + ), ################################## # ENDE Datatable fields ################################## -- Gitblit v1.9.1