summaryrefslogtreecommitdiffstats
path: root/apps/admin/modules/mailbox/templates/_max_quota.php
blob: 3bf8c4776b84a1492cbf8a880421bae4ea245b9d (plain)
1
<?php use_helper("Files") ?><?php $q = $mailbox->getQuota(); $qmax = ($q["max"] != null ? $q["max"]: $mailbox->getMaxQuota()); ?><?php if($q["resource"] != null): ?><?php echo format_bytes($q["current"]*1000) ?> / <?php endif; ?><?php echo ($qmax==0 ? "Unlimited" : format_bytes($qmax*1000)) ?>