From 6d20d016d5bc33b5f4a40d12bc765535fd88043b Mon Sep 17 00:00:00 2001 From: alecpl Date: Sat, 20 Sep 2008 17:36:06 +0000 Subject: #1485384: fix quota span tag attribs --- program/steps/mail/func.inc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 928dce33e..3f8114801 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -456,13 +456,7 @@ function rcmail_quota_display($attrib) $OUTPUT->add_gui_object('quotadisplay', $attrib['id']); - // allow the following attributes to be added to the tag - $attrib_str = create_attrib_string($attrib, array('style', 'class', 'id', 'display')); - - $out = ''; - $out .= rcmail_quota_content(NULL, $attrib); - $out .= ''; - return $out; + return html::span($attrib, rcmail_quota_content(NULL, $attrib)); } -- cgit v1.2.3