From 4bf2ca7a4b55d085d6f0724a330d6197ebb18738 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 1 May 2012 09:42:19 +0000 Subject: [PATCH] css et js inexistant --- application/Bootstrap.php | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/application/Bootstrap.php b/application/Bootstrap.php index 8fbf7496..fae82dc8 100644 --- a/application/Bootstrap.php +++ b/application/Bootstrap.php @@ -8,21 +8,21 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap $view = $this->getResource('view'); $pathStyle = '/themes/default/styles'; $pathScript = '/themes/default/scripts'; - + $view->setEncoding('UTF-8'); $view->doctype('XHTML1_STRICT'); - + $view->headMeta() ->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8') ->appendHttpEquiv('Content-Language', 'fr-FR'); - - $view->headLink() + + $view->headLink() ->appendStylesheet($pathStyle.'/jquery.qtip.css', 'all') ->appendStylesheet('/themes/jstree/default/style.css') ->appendStylesheet('/themes/jqueryui/jquery-ui.css', 'all') - ->appendStylesheet($pathStyle.'/main.css', 'all') - ->appendStylesheet('/themes/multiselect/css/ui.multiselect.css', 'all'); - + ->appendStylesheet($pathStyle.'/main.css', 'all'); + //->appendStylesheet('/themes/multiselect/css/ui.multiselect.css', 'all'); + $view->headScript() ->appendFile($pathScript.'/jquery.js', 'text/javascript') ->appendFile($pathScript.'/jquery.bgiframe.js', 'text/javascript') @@ -30,13 +30,13 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap ->appendFile($pathScript.'/jquery-ui.js', 'text/javascript') ->appendFile($pathScript.'/jquery.qtip.js', 'text/javascript') ->appendFile($pathScript.'/upload.js', 'text/javascript') - ->appendFile($pathScript.'/scripts.js', 'text/javascript') - ->appendFile($pathScript.'/ui.multiselect.js', 'text/javascript'); - + ->appendFile($pathScript.'/scripts.js', 'text/javascript'); + //->appendFile($pathScript.'/ui.multiselect.js', 'text/javascript'); + $view->headTitle()->setSeparator(' - '); $view->headTitle('Odea'); } - + protected function _initLogging() { //Logger de développement @@ -45,7 +45,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap $logger = new Zend_Log($writer); Zend_Registry::set('firebug', $logger); } - + protected function _initDb() { $dbConfig = new Zend_Config_Ini(APPLICATION_PATH . '/configs/configuration.ini', 'databases'); @@ -57,15 +57,15 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap } Zend_Registry::set('db', $db); } - + protected function _initAutoload() { require_once APPLICATION_PATH . '/../library/Zend/Loader/Autoloader.php'; - + $appPath = realpath(dirname(__FILE__)); $rootPath = dirname($appPath); $autoload = Zend_Loader_Autoloader::getInstance(); - + $application = new Zend_Loader_Autoloader_Resource(array( 'basePath' => $appPath . '/modules/frontend/models/', 'namespace' => '', @@ -73,17 +73,17 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap 'objects'=>array('path'=>'Objects/', 'namespace'=>'Object'), 'forms'=>array('path'=>'Forms/', 'namespace'=>'Form') ))); - + $libs = new Zend_Loader_Autoloader_Resource(array( 'basePath' => $rootPath . '/library', 'namespace' => 'library', 'resourceTypes' => array('libs'=>array('path'=>'libs/','namespace'=>'Libs'), ))); - + $loader = new Zend_Application_Module_Autoloader(array( 'namespace' => '', 'basePath' => APPLICATION_PATH)); - + return $loader; } }