SAAS-939: Add option to preferences to display login button on radio page

This commit is contained in:
drigato 2015-07-09 14:38:44 -04:00
parent 9ec75f7179
commit 0601bd675e
6 changed files with 32 additions and 4 deletions

View file

@ -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()

View file

@ -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();