]> git.llucax.com Git - software/bife/bife-all.git/blobdiff - src/BIFE/Album.php
- Cleanned Album code.
[software/bife/bife-all.git] / src / BIFE / Album.php
index 9eb1e2ddb8b8efd4c0b5e4ea1923e7e637e571a4..bc67f771f77abdf8b3b4f6155eeb835ff984c952 100644 (file)
@@ -109,19 +109,8 @@ class BIFE_Album extends BIFE_Widget {
                     if (is_null($photo['THUMB'])) {
                         $photo['THUMB'] = $this->makeThumb($photo['FILE']);
                     }
-                    /* XXX - Con objetos. *
-                    $link =& new BIFE_Link(
-                        array(
-                            'BIFE'                  => $this->attrs['LINK-BIFE'],
-                            'URL'                   => $this->attrs['LINK-URL'],
-                            'DESC'                  => $photo['DESC'],
-                            'DATA-BIFE_ALBUM_FILE'  => $photo['FILE'],
-                        )
-                    );
                     $link->addContents($template->parse('item', $photo));
                     $out_cell = $link->render($template);
-                    /**/
-                    /* XXX - Intermedio, obteniendo el URL de Link. */
                     $photo['URL'] = BIFE_Link::getURL(
                         array(
                             'BIFE'                  => $this->attrs['LINK-BIFE'],
@@ -130,7 +119,6 @@ class BIFE_Album extends BIFE_Widget {
                         )
                     );
                     $cell = $template->parse('item', $photo);
-                    /**/
                 } else {
                     $cell = $template->parse('empty');
                 }