Dominik
2015-01-11 97321a45d85f4858d467429a7ee00bbc80b402a7
formatBytes for backup-filesizes in interface
1 files modified
4 ■■■■ changed files
interface/lib/classes/plugin_backuplist_mail.inc.php 4 ●●●● patch | view | raw | blame | history
interface/lib/classes/plugin_backuplist_mail.inc.php
@@ -39,6 +39,9 @@
    function onShow() {
        global $app;
        $app->uses('functions');
        $listTpl = new tpl;
        $listTpl->newTemplate('templates/mail_user_backup_list.htm');
                
@@ -105,6 +108,7 @@
                $rec["bgcolor"] = $bgcolor;
                $rec['date'] = date($app->lng('conf_format_datetime'),$rec['tstamp']);
                $rec['backup_type'] = $wb[('backup_type_'.$rec['backup_type'])];
                $rec['filesize'] = $app->functions->formatBytes($rec['filesize']);
                $records_new[] = $rec;
            }
        }