Added remove button for station logo on preferences page
This commit is contained in:
parent
69d588d2f6
commit
5e256df061
5 changed files with 31 additions and 7 deletions
|
@ -146,6 +146,15 @@ class PreferenceController extends Zend_Controller_Action
|
|||
$this->view->form = $watched_dirs_pref;
|
||||
}
|
||||
|
||||
public function removeLogoAction()
|
||||
{
|
||||
$this->view->layout()->disableLayout();
|
||||
// Remove reliance on .phtml files to render requests
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
|
||||
Application_Model_Preference::SetStationLogo("");
|
||||
}
|
||||
|
||||
public function streamSettingAction()
|
||||
{
|
||||
$CC_CONFIG = Config::getConfig();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue