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'],
)
);
$cell = $template->parse('item', $photo);
- /**/
} else {
$cell = $template->parse('empty');
}