X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/blobdiff_plain/2ca13aad316873633c3fd9ba59ee2f5579d90272..715ddc41f45dcf4d64348fef69844618ad1abb3d:/src/BIFE/Page.php diff --git a/src/BIFE/Page.php b/src/BIFE/Page.php index 1d68fa0..0bff2f9 100644 --- a/src/BIFE/Page.php +++ b/src/BIFE/Page.php @@ -93,7 +93,7 @@ class BIFE_Page extends BIFE_Root { /** * Returns the rendered widget as a string. * - * @param HTML_Template_Sigma &$template Template to use to render the widget. + * @param HTML_Template_HIT &$template Template to use to render the widget. * * @return string * @access public @@ -101,11 +101,13 @@ class BIFE_Page extends BIFE_Root { function render(&$template) // ~X2C { $this->attrs['CONTENTS'] = parent::render($template); - $template->group = ''; - return $template->parse('bife_page', $this->attrs); + $template->setGroup(); + $out = $template->parse('bife_page', $this->attrs); + $template->unsetGroup(); + return $out; } // -X2C } // -X2C Class :Page -?> +?> \ No newline at end of file