From 6d20d016d5bc33b5f4a40d12bc765535fd88043b Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sat, 20 Sep 2008 13:36:06 -0400
Subject: [PATCH] #1485384: fix quota span tag attribs
---
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 928dce3..3f81148 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -456,13 +456,7 @@
$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));
}
--
Gitblit v1.9.1