diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-20 17:36:06 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-20 17:36:06 +0000 |
| commit | 39016cc23863f7c56cfb187ef774098e70c49b64 (patch) | |
| tree | b00cbdeeb40ea17ae15eb4caddf89eb73d1010dd /roundcubemail/program | |
| parent | a26fb8c68ffab04727c748cbae21858c0b0a61c7 (diff) | |
#1485384: fix quota span tag attribs
git-svn-id: https://svn.roundcube.net/trunk@1866 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 928dce33e..3f8114801 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/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)); } |
