]> git.llucax.com Git - software/bife/bife-all.git/blobdiff - src/BIFE/AlbumPhoto.php
- Added a new simple template system: Hooks + IT = HIT.
[software/bife/bife-all.git] / src / BIFE / AlbumPhoto.php
index ab4cc53e9cef1afdb7f4801a1c9ce03c42f4cb8e..084088df3d44f549ed654204dfb763c9c117cd4e 100644 (file)
@@ -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