6 * Template for constructing an opening body tag.
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;
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;
17 * + $plugin_output - An array of extra output that may be added by
20 * @copyright © 1999-2007 The SquirrelMail Project Team
21 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
23 * @package squirrelmail
24 * @subpackage templates
28 // retrieve the template vars
34 if (!empty($class)) echo ' class="' . $class . '"';
35 if (!empty($onload)) echo ' onload="' . $onload . '"';
36 foreach ($aAttribs as $key => $value) {
37 echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
41 if (!empty($plugin_output['body_after'])) echo $plugin_output['body_after'];