Marius Burkard
2016-03-02 2f74cf27ad6fbb852df78bcccca1fb645c8a57e0
interface/web/mail/form/mail_user.tform.php
@@ -311,7 +311,11 @@
         'autoresponder_start_date' => array (
            'datatype' => 'DATETIME',
            'formtype' => 'DATETIME',
            'validators'=> array ( 0 => array ( 'type' => 'CUSTOM',
            'validators'=> array (
               0 => array ( 'type' => 'ISDATETIME',
                  'allowempty' => 'y',
                  'errmsg'=> 'autoresponder_start_date_is_no_date'),
               1 => array ( 'type' => 'CUSTOM',
                  'class' => 'validate_autoresponder',
                  'function' => 'start_date',
                  'errmsg'=> 'autoresponder_start_date_is_required'),
@@ -320,7 +324,11 @@
         'autoresponder_end_date' => array (
            'datatype' => 'DATETIME',
            'formtype' => 'DATETIME',
            'validators'=> array (  0 => array ( 'type' => 'CUSTOM',
            'validators'=> array (
               0 => array ( 'type' => 'ISDATETIME',
                  'allowempty' => 'y',
                  'errmsg'=> 'autoresponder_end_date_is_no_date'),
               1 => array ( 'type' => 'CUSTOM',
                  'class' => 'validate_autoresponder',
                  'function' => 'end_date',
                  'errmsg'=> 'autoresponder_end_date_isgreater'),