X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/blobdiff_plain/3658b126d4873c96dd3b08af6619795790e23ac2..2ca13aad316873633c3fd9ba59ee2f5579d90272:/src/BIFE/AlbumPhoto.php?ds=sidebyside diff --git a/src/BIFE/AlbumPhoto.php b/src/BIFE/AlbumPhoto.php index ab4cc53..084088d 100644 --- a/src/BIFE/AlbumPhoto.php +++ b/src/BIFE/AlbumPhoto.php @@ -82,9 +82,8 @@ class BIFE_AlbumPhoto extends BIFE_Widget { */ function render(&$template) // ~X2C { - $template->loadTemplateFile('bife_albumphoto.html'); - $template->setVariable($this->attrs); - return $template->get(); + $template->group = 'album'; + return $template->parse('photo', $this->attrs); } // -X2C