2015-11-13 20:57:32 +01:00
|
|
|
<?php
|
|
|
|
|
2021-10-11 16:10:47 +02:00
|
|
|
class Application_Form_StationPodcast extends Zend_Form
|
|
|
|
{
|
|
|
|
public function init()
|
|
|
|
{
|
2015-11-13 20:57:32 +01:00
|
|
|
// Station Podcast form
|
|
|
|
$podcastPreferences = new Application_Form_PodcastPreferences();
|
|
|
|
$this->addSubForm($podcastPreferences, 'preferences_podcast');
|
2015-11-16 18:07:53 +01:00
|
|
|
|
|
|
|
$csrf_namespace = new Zend_Session_Namespace('csrf_namespace');
|
|
|
|
$csrf_element = new Zend_Form_Element_Hidden('csrf');
|
|
|
|
$csrf_element->setValue($csrf_namespace->authtoken)
|
|
|
|
->setRequired('true')
|
|
|
|
->removeDecorator('HtmlTag')
|
2022-01-23 19:15:55 +01:00
|
|
|
->removeDecorator('Label');
|
2015-11-16 18:07:53 +01:00
|
|
|
$this->addElement($csrf_element);
|
2015-11-13 20:57:32 +01:00
|
|
|
}
|
2021-10-11 16:10:47 +02:00
|
|
|
}
|