#1485384: fix quota span tag attribs

release-0.6
alecpl 16 years ago
parent c17dc6aa31
commit 6d20d016d5

@ -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));
}

Loading…
Cancel
Save