]> git.llucax.com Git - software/bife/bife-all.git/blobdiff - src/BIFE/AlbumPhoto.php
- Added HIT to UML diagram.
[software/bife/bife-all.git] / src / BIFE / AlbumPhoto.php
index ab4cc53e9cef1afdb7f4801a1c9ce03c42f4cb8e..1c63d781c739216d58ea57d58aea68c2e4319487 100644 (file)
@@ -82,12 +82,11 @@ 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
 
 } // -X2C Class :AlbumPhoto
 
-?>
+?>
\ No newline at end of file