Fixed: FS#2078 - Cron - ISPConfig website users permission
- Improved date format in nl language file
- Disabled debugging mode in interface plugin class.
| | |
| | | class plugin { |
| | | |
| | | private $subscribed_events = array(); |
| | | private $debug = true; |
| | | private $debug = false; |
| | | |
| | | |
| | | /* |
| | |
| | | <?php |
| | | $wb['conf_format_dateshort'] = 'Y-m-d'; |
| | | $wb['conf_format_datelong'] = 'l d F Y'; |
| | | $wb['conf_format_dateshort'] = 'd.m.Y'; |
| | | $wb['conf_format_datelong'] = 'l, d. F Y'; |
| | | $wb['conf_format_timeshort'] = 'H:i'; |
| | | $wb['conf_format_timelong'] = 'H:i:s'; |
| | | $wb['conf_format_datetime'] = 'Y-m-d H:i'; |
| | | $wb['conf_format_datetime'] = 'd.m.Y H:i'; |
| | | $wb['number_format_decimals'] = '2'; |
| | | $wb['number_format_dec_point'] = '.'; |
| | | $wb['number_format_dec_point'] = ','; |
| | | $wb['number_format_thousands_sep'] = ''; |
| | | $wb['error_301'] = 'Module niet toegestaan voor de huidige gebruiker.'; |
| | | $wb['error_302'] = 'Ongeldige module.'; |
| | |
| | | 'autoresponder_start_date' => array ( |
| | | 'datatype' => 'DATETIME', |
| | | 'formtype' => 'DATETIME', |
| | | 'validators'=> array ( 0 => array ( 'type' => 'CUSTOM', |
| | | 'class' => 'validate_autoresponder', |
| | | 'function' => 'start_date', |
| | | 'errmsg'=> 'autoresponder_start_date_ispast'), |
| | | ), |
| | | ), |
| | | 'autoresponder_end_date' => array ( |
| | | 'datatype' => 'DATETIME', |
| | |
| | | //* try to find customer's mail address |
| | | |
| | | /** TODO: add possibility for client to choose mail notification! **/ |
| | | $cron_content = "MAILTO=''\n\n"; |
| | | $chr_cron_content = "MAILTO=''\n\n"; |
| | | $cron_content = "MAILTO=''\n"; |
| | | $cron_content .= "SHELL='/bin/sh'\n\n"; |
| | | $chr_cron_content = "MAILTO=''\n"; |
| | | $chr_cron_content .= "SHELL='/usr/sbin/jk_chrootsh'\n\n"; |
| | | |
| | | $cmd_count = 0; |