CC-1990: Widget to display schedule and "Now Playing" on any website

-admin can now enable/disable access to scheduling information to remote widgets via the preferences page.
This commit is contained in:
martin 2011-03-30 15:34:35 -04:00
parent db3134cea8
commit 32c28046ef
4 changed files with 63 additions and 29 deletions

View file

@ -30,13 +30,13 @@ class PreferenceController extends Zend_Controller_Action
Application_Model_Preference::SetHeadTitle($values["stationName"], $this->view);
Application_Model_Preference::SetDefaultFade($values["stationDefaultFade"]);
Application_Model_Preference::SetStreamLabelFormat($values["streamFormat"]);
Application_Model_Preference::SetAllow3rdPartyApi($values["thirdPartyApi"]);
Application_Model_Preference::SetDoSoundCloudUpload($values["UseSoundCloud"]);
Application_Model_Preference::SetSoundCloudUser($values["SoundCloudUser"]);
Application_Model_Preference::SetSoundCloudPassword($values["SoundCloudPassword"]);
Application_Model_Preference::SetSoundCloudTags($values["SoundCloudTags"]);
$this->view->statusMsg = "<div class='success'>Preferences updated.</div>";
}
$this->view->form = $form;