/**
* Renders the widget using a template returning a string with the results.
*
- * @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
*/
function render(&$template) // ~X2C
{
- $template->group = 'album';
- return $template->parse('photo', $this->attrs);
+ $template->setGroup('album');
+ $out = $template->parse('photo', $this->attrs);
+ $template->unsetGroup();
+ return $out;
}
// -X2C