SAAS-1024: Merge layout.phtml and page-sub-menu.phtml
This commit is contained in:
parent
f48c7186ca
commit
38d9963a8d
11 changed files with 20 additions and 209 deletions
|
@ -22,7 +22,6 @@ class BillingController extends Zend_Controller_Action {
|
|||
public function upgradeAction()
|
||||
{
|
||||
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Billing');
|
||||
|
||||
$CC_CONFIG = Config::getConfig();
|
||||
|
@ -211,7 +210,6 @@ class BillingController extends Zend_Controller_Action {
|
|||
|
||||
public function clientAction()
|
||||
{
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Billing');
|
||||
|
||||
$CC_CONFIG = Config::getConfig();
|
||||
|
@ -264,7 +262,6 @@ class BillingController extends Zend_Controller_Action {
|
|||
|
||||
public function invoicesAction()
|
||||
{
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Billing');
|
||||
|
||||
$CC_CONFIG = Config::getConfig();
|
||||
|
|
|
@ -108,13 +108,11 @@ class DashboardController extends Zend_Controller_Action
|
|||
|
||||
public function helpAction()
|
||||
{
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Help');
|
||||
}
|
||||
|
||||
public function aboutAction()
|
||||
{
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Help');
|
||||
$this->view->airtime_version = Application_Model_Preference::GetAirtimeVersion();
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@ class EmbeddableWidgetsController extends Zend_Controller_Action
|
|||
|
||||
public function playerAction()
|
||||
{
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Widgets');
|
||||
|
||||
$CC_CONFIG = Config::getConfig();
|
||||
|
@ -34,7 +33,6 @@ class EmbeddableWidgetsController extends Zend_Controller_Action
|
|||
|
||||
public function scheduleAction()
|
||||
{
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Widgets');
|
||||
|
||||
$apiEnabled = Application_Model_Preference::GetAllow3rdPartyApi();
|
||||
|
|
|
@ -17,7 +17,6 @@ class ListenerstatController extends Zend_Controller_Action
|
|||
$request = $this->getRequest();
|
||||
$baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Analytics');
|
||||
|
||||
$this->view->headScript()->appendFile($baseUrl.'js/flot/jquery.flot.js?'.$CC_CONFIG['airtime_version'],'text/javascript');
|
||||
|
|
|
@ -24,7 +24,6 @@ class PlayouthistoryController extends Zend_Controller_Action
|
|||
$CC_CONFIG = Config::getConfig();
|
||||
$baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Analytics');
|
||||
|
||||
list($startsDT, $endsDT) = Application_Common_HTTPHelper::getStartEndFromRequest($this->getRequest());
|
||||
|
|
|
@ -18,7 +18,6 @@ class PlayouthistorytemplateController extends Zend_Controller_Action
|
|||
$CC_CONFIG = Config::getConfig();
|
||||
$baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Analytics');
|
||||
|
||||
$this->view->headScript()->appendFile($baseUrl.'js/airtime/playouthistory/template.js?'.$CC_CONFIG['airtime_version'],'text/javascript');
|
||||
|
@ -35,7 +34,6 @@ class PlayouthistorytemplateController extends Zend_Controller_Action
|
|||
$CC_CONFIG = Config::getConfig();
|
||||
$baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Analytics');
|
||||
|
||||
$this->view->headScript()->appendFile($baseUrl.'js/airtime/playouthistory/configuretemplate.js?'.$CC_CONFIG['airtime_version'],'text/javascript');
|
||||
|
|
|
@ -24,7 +24,6 @@ class PreferenceController extends Zend_Controller_Action
|
|||
$CC_CONFIG = Config::getConfig();
|
||||
$request = $this->getRequest();
|
||||
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Settings');
|
||||
|
||||
$baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
|
@ -146,7 +145,6 @@ class PreferenceController extends Zend_Controller_Action
|
|||
|
||||
$request = $this->getRequest();
|
||||
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Settings');
|
||||
|
||||
$baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
|
|
|
@ -23,7 +23,6 @@ class UserController extends Zend_Controller_Action
|
|||
|
||||
$request = $this->getRequest();
|
||||
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Settings');
|
||||
|
||||
$baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
|
@ -125,7 +124,6 @@ class UserController extends Zend_Controller_Action
|
|||
|
||||
public function editUserAction()
|
||||
{
|
||||
$this->_helper->layout->setLayout("page-sub-menu");
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Settings');
|
||||
|
||||
session_start(); //Reopen session for writing.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue