summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-09-20 17:36:06 +0000
committeralecpl <alec@alec.pl>2008-09-20 17:36:06 +0000
commit6d20d016d5bc33b5f4a40d12bc765535fd88043b (patch)
treee67e48566f29fb7b5d4673764febf1414cd9f60d
parentc17dc6aa31aaa6e7f61bd25993be55354e428996 (diff)
#1485384: fix quota span tag attribs
-rw-r--r--program/steps/mail/func.inc8
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));
}