Add station rss subscribe link to radio page
This commit is contained in:
parent
e496072541
commit
093de68edb
3 changed files with 38 additions and 8 deletions
|
@ -60,6 +60,10 @@ class IndexController extends Zend_Controller_Action
|
|||
|
||||
$this->view->episodes = json_encode($episodes);
|
||||
$this->view->displayRssTab = (!Application_Model_Preference::getStationPodcastPrivacy());
|
||||
|
||||
$stationPodcast = PodcastQuery::create()->findOneByDbId($stationPodcastId);
|
||||
$url = $stationPodcast->getDbUrl();
|
||||
$this->view->stationPodcastRssUrl = $url;
|
||||
}
|
||||
|
||||
public function mainAction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue