We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 333ca07 commit 97321a4Copy full SHA for 97321a4
interface/lib/classes/plugin_backuplist_mail.inc.php
@@ -39,6 +39,9 @@ class plugin_backuplist_mail extends plugin_base {
39
40
function onShow() {
41
global $app;
42
+
43
+ $app->uses('functions');
44
45
$listTpl = new tpl;
46
$listTpl->newTemplate('templates/mail_user_backup_list.htm');
47
@@ -105,6 +108,7 @@ function onShow() {
105
108
$rec["bgcolor"] = $bgcolor;
106
109
$rec['date'] = date($app->lng('conf_format_datetime'),$rec['tstamp']);
107
110
$rec['backup_type'] = $wb[('backup_type_'.$rec['backup_type'])];
111
+ $rec['filesize'] = $app->functions->formatBytes($rec['filesize']);
112
$records_new[] = $rec;
113
}
114
0 commit comments