Happy New Year
[squirrelmail.git] / templates / default / line_break.tpl
index 89196d92de832f500ab2ebe3e2b11cd7b3a951d9..6f080da93aa9a8fdae2aec091e7aa4c8ff13babd 100644 (file)
@@ -6,14 +6,28 @@
   * Template for constructing a line break.
   *
   * The following variables are available in this template:
-  *      (none)
   *
-  * @copyright © 1999-2008 The SquirrelMail Project Team
+  * array $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-2021 The SquirrelMail Project Team
   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
-  * @version $Id: line_break.tpl 12046 2007-01-02 21:03:07Z pdontthink $
+  * @version $Id$
   * @package squirrelmail
   * @subpackage templates
   */
 
 
-?><br />
+// retrieve the template vars
+//
+extract($t);
+
+
+echo '<br';
+if (isset($aAttribs)) foreach ($aAttribs as $key => $value) {
+    echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
+}
+echo ' />';