--- /dev/null
+<?php
+
+/**
+ * horizontal_rule.tpl
+ *
+ * Template for constructing a horizontal rule.
+ *
+ * The following variables are available in this template:
+ *
+ * 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-2008 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage templates
+ */
+
+
+echo '<hr';
+foreach ($aAttribs as $key => $value) {
+ echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
+}
+echo ' />';
* Template for constructing a line break.
*
* The following variables are available in this template:
- * (none)
+ *
+ * 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-2008 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*/
-?><br />
+echo '<br';
+foreach ($aAttribs as $key => $value) {
+ echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
+}
+echo ' />';