File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
interface/web/dashboard/dashlets Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -22,32 +22,18 @@ function show() {
2222 $ tpl ->setVar ('mailbox_show_last_access ' , $ mail_config ['mailbox_show_last_access ' ]);
2323
2424 $ emails = $ app ->quota_lib ->get_mailquota_data ( ($ _SESSION ["s " ]["user " ]["typ " ] != 'admin ' ) ? $ _SESSION ['s ' ]['user ' ]['client_id ' ] : null );
25- //print_r($emails);
2625
2726 $ has_mailquota = false ;
2827 if (is_array ($ emails ) && !empty ($ emails )){
2928 foreach ($ emails as &$ email ) {
3029 $ email ['email ' ] = $ app ->functions ->idn_decode ($ email ['email ' ]);
3130 }
3231 unset($ email );
33- // email username is quoted in quota.lib already, so no htmlentities here to prevent double encoding
34- //$emails = $app->functions->htmlentities($emails);
35- $ email ['last_access ' ] = date ($ app ->lng ('conf_format_datetime ' ), $ email ['last_access ' ]);
3632 $ tpl ->setloop ('mailquota ' , $ emails );
3733 $ has_mailquota = isset ($ emails [0 ]['used ' ]);
3834 }
3935 $ tpl ->setVar ('has_mailquota ' , $ has_mailquota );
4036
4137 return $ tpl ->grab ();
4238 }
43-
4439}
45-
46-
47-
48-
49-
50-
51-
52-
53- ?>
You can’t perform that action at this time.
0 commit comments