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
|
@ -27,6 +27,8 @@ class IndexController extends Zend_Controller_Action
|
|||
|
||||
$this->view->stationUrl = Application_Common_HTTPHelper::getStationUrl();
|
||||
|
||||
$this->view->displayLoginButton = Application_Model_Preference::getRadioPageDisplayLoginButton();
|
||||
|
||||
}
|
||||
|
||||
public function mainAction()
|
||||
|
|
|
@ -47,6 +47,7 @@ class PreferenceController extends Zend_Controller_Action
|
|||
Application_Model_Preference::SetDefaultLocale($values["locale"]);
|
||||
Application_Model_Preference::SetDefaultTimezone($values["timezone"]);
|
||||
Application_Model_Preference::SetWeekStartDay($values["weekStartDay"]);
|
||||
Application_Model_Preference::setRadioPageDisplayLoginButton($values["radioPageLoginButton"]);
|
||||
|
||||
$logoUploadElement = $form->getSubForm('preferences_general')->getElement('stationLogo');
|
||||
$logoUploadElement->receive();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue