551c7b53 |
1 | <?php |
2 | |
3 | /** |
4 | * line_break.tpl |
5 | * |
6 | * Template for constructing a line break. |
7 | * |
8 | * The following variables are available in this template: |
12e4996a |
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) |
551c7b53 |
15 | * |
c997cbe6 |
16 | * @copyright 1999-2021 The SquirrelMail Project Team |
551c7b53 |
17 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
01144ffd |
18 | * @version $Id$ |
551c7b53 |
19 | * @package squirrelmail |
20 | * @subpackage templates |
21 | */ |
22 | |
23 | |
026f16ea |
24 | // retrieve the template vars |
25 | // |
26 | extract($t); |
27 | |
28 | |
12e4996a |
29 | echo '<br'; |
119bd59f |
30 | if (isset($aAttribs)) foreach ($aAttribs as $key => $value) { |
12e4996a |
31 | echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"'); |
32 | } |
33 | echo ' />'; |