add style to the hr entity separator
[squirrelmail.git] / templates / default / body.tpl
CommitLineData
5bcce050 1<?php
2
3/**
4 * body.tpl
5 *
6 * Template for constructing an opening body tag.
7 *
8 * The following variables are available in this template:
9 * + $class - CSS class name (optional; may not be present)
10 * + $onload - Body onload JavaScript handler code (optional;
11 * may not be present)
12 * + $aAttribs - Any extra attributes: an associative array, where
13 * keys are attribute names, and values (which are
14 * optional and might be null) should be placed
15 * in double quotes as attribute values (optional;
16 * may not be present)
17 * + $plugin_output - An array of extra output that may be added by
18 * plugin(s).
19 *
20 * @copyright &copy; 1999-2007 The SquirrelMail Project Team
21 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
22 * @version $Id$
23 * @package squirrelmail
24 * @subpackage templates
25 */
26
27
28// retrieve the template vars
29//
30extract($t);
31
32
33echo '<body';
34if (!empty($class)) echo ' class="' . $class . '"';
35if (!empty($onload)) echo ' onload="' . $onload . '"';
36foreach ($aAttribs as $key => $value) {
37 echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
38}
39echo '>';
40
41if (!empty($plugin_output['body_after'])) echo $plugin_output['body_after'];
42