Dominik
2015-01-14 2615e90b0708eb1a057e9b63cf2068942a5f79ec
fixed template-style
fixed small bug in mail-backup-cron
2 files modified
6 ■■■■ changed files
interface/web/admin/templates/system_config_sites_edit.htm 4 ●●●● patch | view | raw | blame | history
server/lib/classes/cron.d/500-backup_mail.inc.php 2 ●●● patch | view | raw | blame | history
interface/web/admin/templates/system_config_sites_edit.htm
@@ -52,8 +52,8 @@
                </div>
            </div>
            <div class="ctrlHolder">
                <p class="label">{tmpl_var name='backups_include_into_web_quota_txt'}</p>
                <div class="multiField">
                <label class="col-sm-3 control-label">{tmpl_var name='backups_include_into_web_quota_txt'}</label>
                <div class="col-sm-9">
                    {tmpl_var name='backups_include_into_web_quota'}
                </div>
            </div>
server/lib/classes/cron.d/500-backup_mail.inc.php
@@ -76,7 +76,7 @@
                foreach($records as $rec) {
                    //* Do the mailbox backup
                    if($rec['backup_interval'] == 'daily' or ($rec['backup_interval'] == 'weekly' && date('w') == 0) or ($rec['backup_interval'] == 'monthly' && date('d') == '01')) {
                        $temp = explode("@",$email);
                        $temp = explode("@",$rec['email']);
                        $domain = $temp[1];
                        unset($temp);;
                        $domain_rec=$app->db->queryOneRecord("SELECT * FROM mail_domain WHERE domain = ?", $domain);