diff options
author | alecpl <alec@alec.pl> | 2008-09-20 17:36:06 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-09-20 17:36:06 +0000 |
commit | 6d20d016d5bc33b5f4a40d12bc765535fd88043b (patch) | |
tree | e67e48566f29fb7b5d4673764febf1414cd9f60d /program | |
parent | c17dc6aa31aaa6e7f61bd25993be55354e428996 (diff) |
#1485384: fix quota span tag attribs
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/mail/func.inc | 8 |
1 files changed, 1 insertions, 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 <span> tag - $attrib_str = create_attrib_string($attrib, array('style', 'class', 'id', 'display')); - - $out = '<span' . $attrib_str . '>'; - $out .= rcmail_quota_content(NULL, $attrib); - $out .= '</span>'; - return $out; + return html::span($attrib, rcmail_quota_content(NULL, $attrib)); } |