*
* This gives template designers ultimate control over how modules are rendered.
*
* NOTICE: All chrome wrapping methods should be named: modChrome_{STYLE} and take the same
* three arguments.
*/
/**
* Custom module chrome, echos the whole module in a
and the header in
. The level of
* the header can be configured through a 'headerLevel' attribute of the tag.
* Defaults to if none given
*/
function modChrome_beezDivision($module, &$params, &$attribs)
{
$headerLevel = isset($attribs['headerLevel']) ? (int) $attribs['headerLevel'] : 3;
if (!empty ($module->content)) : ?>
showtitle) : ?>
>title; ?>>
content; ?>