* @author Pierre-Luc Paour * @author Daniel Grund * @version $Revision: 17580 $ */ class FeedListView extends GalleryView { /** * @see GalleryView::loadTemplate */ function loadTemplate(&$template, &$form) { list ($ret, $feeds) = RssMapHelper::fetchFeedsForItem(); if ($ret) { return array($ret, null); } $template->setVariable('FeedList', array('feeds' => $feeds)); $template->setVariable('view', 'rss.FeedList'); return array(null, array('body' => 'modules/rss/templates/FeedList.tpl')); } } ?>