diff --git a/airtime_mvc/application/Bootstrap.php b/airtime_mvc/application/Bootstrap.php index d4ca032f5..1e3037fa6 100644 --- a/airtime_mvc/application/Bootstrap.php +++ b/airtime_mvc/application/Bootstrap.php @@ -37,7 +37,7 @@ Zend_Validate::setDefaultNamespaces("Zend"); $front = Zend_Controller_Front::getInstance(); $front->registerPlugin(new RabbitMqPlugin()); -Logging::debug($_SERVER['REQUEST_URI']); +//Logging::debug($_SERVER['REQUEST_URI']); /* The bootstrap class should only be used to initialize actions that return a view. Actions that return JSON will not use the bootstrap class! */ diff --git a/airtime_mvc/application/configs/navigation.php b/airtime_mvc/application/configs/navigation.php index 8ab913804..400a8b509 100644 --- a/airtime_mvc/application/configs/navigation.php +++ b/airtime_mvc/application/configs/navigation.php @@ -54,28 +54,27 @@ $pages = array( 'controller' => 'Preference' ), array( - 'label' => 'Manage Users', + 'label' => 'Users', 'module' => 'default', 'controller' => 'user', 'action' => 'add-user', 'resource' => 'user' ), array( - 'label' => 'Manage Media Folders', + 'label' => 'Media Folders', 'module' => 'default', 'controller' => 'Preference', 'action' => 'directory-config', 'id' => 'manage_folder' ), array( - 'label' => 'Stream Settings', + 'label' => 'Streams', 'module' => 'default', 'controller' => 'Preference', 'action' => 'stream-setting' ), array( - 'label' => - Application_Model_Preference::GetPlanLevel() == 'disabled'?'Support Settings':'Station Information Settings', + 'label' => 'Support Feedback', 'module' => 'default', 'controller' => 'Preference', 'action' => 'support-setting' diff --git a/airtime_mvc/application/controllers/ApiController.php b/airtime_mvc/application/controllers/ApiController.php index fbed8005d..9b0273a35 100644 --- a/airtime_mvc/application/controllers/ApiController.php +++ b/airtime_mvc/application/controllers/ApiController.php @@ -277,14 +277,12 @@ class ApiController extends Zend_Controller_Action $api_key = $this->_getParam('api_key'); - /* if(!in_array($api_key, $CC_CONFIG["apiKey"])) { header('HTTP/1.0 401 Unauthorized'); print 'You are not allowed to access this resource. '; exit; } - * */ PEAR::setErrorHandling(PEAR_ERROR_RETURN); diff --git a/airtime_mvc/application/controllers/PreferenceController.php b/airtime_mvc/application/controllers/PreferenceController.php index 4d2018bba..6c59c4eca 100644 --- a/airtime_mvc/application/controllers/PreferenceController.php +++ b/airtime_mvc/application/controllers/PreferenceController.php @@ -111,7 +111,7 @@ class PreferenceController extends Zend_Controller_Action $privacyChecked = true; } $this->view->privacyChecked = $privacyChecked; - $this->view->section_title = Application_Model_Preference::GetPlanLevel() == 'disabled'?'Support Settings':'Station Information Settings'; + $this->view->section_title = 'Support Feedback'; $this->view->form = $form; //$form->render($this->view); } diff --git a/airtime_mvc/application/layouts/scripts/builder.phtml b/airtime_mvc/application/layouts/scripts/builder.phtml index 3efba392c..c90f2a277 100644 --- a/airtime_mvc/application/layouts/scripts/builder.phtml +++ b/airtime_mvc/application/layouts/scripts/builder.phtml @@ -20,8 +20,7 @@