X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault%2Fspan.tpl;h=7a3394410d2167ce4aadb27697978e42b3aa612b;hb=30460a05016c7e066ad7b28df7788539e4054a99;hp=2bbda59b515023c42a887f0b02d7d303d0b4735d;hpb=b0215f910166d59ba9f3ffec1f57c82fa2168cb1;p=squirrelmail.git
diff --git a/templates/default/span.tpl b/templates/default/span.tpl
index 2bbda59b..7a339441 100644
--- a/templates/default/span.tpl
+++ b/templates/default/span.tpl
@@ -6,11 +6,16 @@
* 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
+ * @copyright 1999-2009 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
@@ -23,4 +28,12 @@
extract($t);
-?>>
+echo ' $value) {
+ echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
+}
+echo '>' . $value . '';
+
+