tbrehm
2012-02-24 b2fbe1b49ba8a6e3542f63d6c88e8d63800a111b
Fixed: FS#2078 - Cron - ISPConfig website users permission
- Improved date format in nl language file
- Disabled debugging mode in interface plugin class.
4 files modified
20 ■■■■■ changed files
interface/lib/classes/plugin.inc.php 2 ●●● patch | view | raw | blame | history
interface/lib/lang/nl.lng 8 ●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_user.tform.php 5 ●●●●● patch | view | raw | blame | history
server/plugins-available/cron_plugin.inc.php 5 ●●●●● patch | view | raw | blame | history
interface/lib/classes/plugin.inc.php
@@ -31,7 +31,7 @@
class plugin {
    
    private $subscribed_events = array();
    private $debug = true;
    private $debug = false;
    
    
    /*
interface/lib/lang/nl.lng
@@ -1,11 +1,11 @@
<?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.';
interface/web/mail/form/mail_user.tform.php
@@ -226,11 +226,6 @@
        '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',
server/plugins-available/cron_plugin.inc.php
@@ -183,8 +183,9 @@
        //* 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;