Need to extract template vars - oops
[squirrelmail.git] / templates / default / line_break.tpl
CommitLineData
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 *
16 * @copyright &copy; 1999-2008 The SquirrelMail Project Team
17 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
18 * @version $Id: line_break.tpl 12046 2007-01-02 21:03:07Z pdontthink $
19 * @package squirrelmail
20 * @subpackage templates
21 */
22
23
026f16ea 24// retrieve the template vars
25//
26extract($t);
27
28
12e4996a 29echo '<br';
30foreach ($aAttribs as $key => $value) {
31 echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
32}
33echo ' />';