From fda695f29732f5e5bcaa55e7e7abd090d2359927 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 1 Sep 2006 17:14:51 +0000 Subject: Finalized quota image --- program/steps/mail/func.inc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'program/steps/mail/func.inc') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 986a4c955..0cd6652ad 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -633,10 +633,15 @@ function rcmail_quota_display($attrib) // show quota as image (by Brett Patterson) if ($attrib['display'] == 'image' && function_exists('imagegif')) { - $quota_text = sprintf('%s', + $attrib += array('width' => 100, 'height' => 14); + $quota_text = sprintf('%s', $COMM_PATH, $quota['used'], $quota['total'], - $quota_text); + $attrib['width'], $attrib['height'], + $attrib['width'], $attrib['height'], + $quota_text, + show_bytes($quota["used"] * 1024), + show_bytes($quota["total"] * 1024)); } } else -- cgit v1.2.3