X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=templates%2Fdefault%2Fspan.tpl;h=10bf7f7a52233e64ce132c4f51e3136cc8251195;hp=2bbda59b515023c42a887f0b02d7d303d0b4735d;hb=55bfdc1ea645d335f791dea7b6139568c3027991;hpb=b0215f910166d59ba9f3ffec1f57c82fa2168cb1
diff --git a/templates/default/span.tpl b/templates/default/span.tpl
index 2bbda59b..10bf7f7a 100644
--- a/templates/default/span.tpl
+++ b/templates/default/span.tpl
@@ -6,9 +6,14 @@
* Template for constructing a span tag.
*
* The following variables are available in this template:
- * + $value - The contents that belong inside the span
- * + $class - CSS class name (optional; may not be present)
- * + $id - ID name (optional; may not be present)
+ * + $value - The contents that belong inside the span
+ * + $class - CSS class name (optional; may not be present)
+ * + $id - ID name (optional; may not be present)
+ * + $aAttribs - Any extra attributes: an associative array, where
+ * keys are attribute names, and values (which are
+ * optional and might be null) should be placed
+ * in double quotes as attribute values (optional;
+ * may not be present)
*
* @copyright © 1999-2006 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
@@ -23,4 +28,12 @@
extract($t);
-?>>
+echo ' $value) {
+ echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
+}
+echo '>' . $value . '';
+
+