Variable theme
This commit is contained in:
parent
755371360a
commit
6fc8a8f263
@ -29,7 +29,7 @@ class AuthController extends Zend_Controller_Action
|
||||
//Désactiver le layout
|
||||
$this->_helper->layout()->disableLayout();
|
||||
|
||||
$this->view->headLink()->appendStylesheet($this->themes->pathStyle.'/user.css', 'all');
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/user.css', 'all');
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
||||
|
@ -645,7 +645,7 @@ class DashboardController extends Zend_Controller_Action
|
||||
|
||||
public function usersAction()
|
||||
{
|
||||
$this->view->headLink()->appendStylesheet($this->themes->pathStyle.'/user.css', 'all');
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/user.css', 'all');
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
|
||||
@ -672,7 +672,7 @@ class DashboardController extends Zend_Controller_Action
|
||||
|
||||
public function userAction()
|
||||
{
|
||||
$this->view->headLink()->appendStylesheet($this->themes->pathStyle.'/user.css', 'all');
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/user.css', 'all');
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/user.js', 'text/javascript');
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
@ -46,7 +46,7 @@ class GiantController extends Zend_Controller_Action
|
||||
// --- Theme
|
||||
$this->theme = Zend_Registry::get('theme');
|
||||
|
||||
$this->view->headLink()->appendStylesheet($this->themes->pathStyle.'/giant.css', 'all');
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/giant.css', 'all');
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/giant.js', 'text/javascript');
|
||||
$this->view->debug = false;
|
||||
$this->config = new Zend_Config_Ini( APPLICATION_PATH.'/../library/Giant/giant.ini' );
|
||||
@ -260,7 +260,7 @@ class GiantController extends Zend_Controller_Action
|
||||
public function startmonitoringAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->view->headLink()->appendStylesheet($this->themes->pathStyle.'/giant.css', 'all');
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/giant.css', 'all');
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/giant.js', 'text/javascript');
|
||||
$this->view->lang = $this->getRequest()->getParam('lang');
|
||||
$this->view->CompanyId = $this->getRequest()->getParam('CompanyId');
|
||||
@ -295,7 +295,7 @@ class GiantController extends Zend_Controller_Action
|
||||
public function stopmonitoringAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->view->headLink()->appendStylesheet($this->themes->pathStyle.'/giant.css', 'all');
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/giant.css', 'all');
|
||||
$this->view->CompanyId = $this->getRequest()->getParam('CompanyId');
|
||||
$this->view->InternalOrderId = $this->getRequest()->getParam('InternalOrderId');
|
||||
$this->view->Pays = $this->getRequest()->getParam('Pays');
|
||||
@ -318,7 +318,7 @@ class GiantController extends Zend_Controller_Action
|
||||
public function updatemonitoringAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->view->headLink()->appendStylesheet($this->themes->pathStyle.'/giant.css', 'all');
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/giant.css', 'all');
|
||||
$this->view->lang = $this->getRequest()->getParam('lang');
|
||||
$this->view->CompanyId = $this->getRequest()->getParam('CompanyId');
|
||||
$this->view->InternalOrderId = $this->getRequest()->getParam('InternalOrderId');
|
||||
|
@ -273,7 +273,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
$this->currencies = $currencies;
|
||||
}
|
||||
|
||||
$this->view->headLink()->appendStylesheet($this->themes->pathStyle.'/saisie.css', 'all');
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/saisie.css', 'all');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -41,7 +41,7 @@ class UserController extends Zend_Controller_Action
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
$this->view->headLink()->appendStylesheet($this->themes->pathStyle.'/user.css', 'all');
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/user.css', 'all');
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user