SAAS-939: Add option to preferences to display login button on radio page
This commit is contained in:
parent
9ec75f7179
commit
0601bd675e
6 changed files with 32 additions and 4 deletions
|
@ -136,6 +136,17 @@ class Application_Form_GeneralPreferences extends Zend_Form_SubForm
|
|||
$week_start_day->setMultiOptions($this->getWeekStartDays());
|
||||
$week_start_day->setValue(Application_Model_Preference::GetWeekStartDay());
|
||||
$this->addElement($week_start_day);
|
||||
|
||||
$radioPageLoginButton = new Zend_Form_Element_Checkbox("radioPageLoginButton");
|
||||
$radioPageLoginButton->setDecorators(array(
|
||||
'ViewHelper',
|
||||
'Errors',
|
||||
'Label'
|
||||
));
|
||||
$radioPageLoginButton->addDecorator('Label', array("class" => "enable-tunein"));
|
||||
$radioPageLoginButton->setLabel(_("Display login button on your Radio Page?"));
|
||||
$radioPageLoginButton->setValue(Application_Model_Preference::getRadioPageDisplayLoginButton());
|
||||
$this->addElement($radioPageLoginButton);
|
||||
}
|
||||
|
||||
private function getWeekStartDays()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue