SAAS-939: Add option to preferences to display login button on radio page
Change option to ON by default
This commit is contained in:
parent
0601bd675e
commit
670395bb2e
2 changed files with 10 additions and 2 deletions
|
@ -27,7 +27,11 @@ class IndexController extends Zend_Controller_Action
|
|||
|
||||
$this->view->stationUrl = Application_Common_HTTPHelper::getStationUrl();
|
||||
|
||||
$this->view->displayLoginButton = Application_Model_Preference::getRadioPageDisplayLoginButton();
|
||||
$displayRadioPageLoginButtonValue = Application_Model_Preference::getRadioPageDisplayLoginButton();
|
||||
if ($displayRadioPageLoginButtonValue == "") {
|
||||
$displayRadioPageLoginButtonValue = true;
|
||||
}
|
||||
$this->view->displayLoginButton = $displayRadioPageLoginButtonValue;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue