Add horizontal rule template and update line break to handle attributes
[squirrelmail.git] / templates / default / horizontal_rule.tpl
1 <?php
2
3 /**
4 * horizontal_rule.tpl
5 *
6 * Template for constructing a horizontal rule.
7 *
8 * The following variables are available in this template:
9 *
10 * array $aAttribs Any extra attributes: an associative array, where
11 * keys are attribute names, and values (which are
12 * optional and might be null) should be placed
13 * in double quotes as attribute values (optional;
14 * may not be present)
15 *
16 * @copyright &copy; 1999-2008 The SquirrelMail Project Team
17 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
18 * @version $Id$
19 * @package squirrelmail
20 * @subpackage templates
21 */
22
23
24 echo '<hr';
25 foreach ($aAttribs as $key => $value) {
26 echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
27 }
28 echo ' />';