CC-2654: Remove abilities that don't apply to SaaS
- not displaying manage folder option when saas is true - not displaying record and rebroadcast section when saas is true
This commit is contained in:
parent
ce2ce0a13a
commit
903c3474c7
7 changed files with 179 additions and 117 deletions
|
@ -106,15 +106,17 @@ class PreferenceController extends Zend_Controller_Action
|
|||
|
||||
public function directoryConfigAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$baseUrl = $request->getBaseUrl();
|
||||
|
||||
$this->view->headScript()->appendFile($baseUrl.'/js/serverbrowse/serverbrowser.js','text/javascript');
|
||||
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/preferences/musicdirs.js','text/javascript');
|
||||
|
||||
$watched_dirs_pref = new Application_Form_WatchedDirPreferences();
|
||||
|
||||
$this->view->form = $watched_dirs_pref;
|
||||
if(Application_Model_Preference::GetPlanLevel() == 'disabled'){
|
||||
$request = $this->getRequest();
|
||||
$baseUrl = $request->getBaseUrl();
|
||||
|
||||
$this->view->headScript()->appendFile($baseUrl.'/js/serverbrowse/serverbrowser.js','text/javascript');
|
||||
$this->view->headScript()->appendFile($baseUrl.'/js/airtime/preferences/musicdirs.js','text/javascript');
|
||||
|
||||
$watched_dirs_pref = new Application_Form_WatchedDirPreferences();
|
||||
|
||||
$this->view->form = $watched_dirs_pref;
|
||||
}
|
||||
}
|
||||
|
||||
public function streamSettingAction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue