*/
function render(&$template) // ~X2C
{
- $contents = parent::render($template);
- $template->loadTemplateFile('bife_page.html');
- $template->setVariable($this->attrs);
- $template->setVariable('CONTENTS', $contents);
- return $template->get();
+ $this->attrs['CONTENTS'] = parent::render($template);
+ $template->group = '';
+ return $template->parse('bife_page', $this->attrs);
}
// -X2C