X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FListController.php;h=cda08aabe990236d020ffb0b9bce202d24ddcd8d;hb=a3870411b5c5217e7b2f063d2929fc2e14daa962;hp=9ce4d0e828f7812749a1536b53d0684379f7c65a;hpb=2d66d0fe742edb3d91af7f76154619ecbcf75c6d;p=syj.git diff --git a/application/controllers/ListController.php b/application/controllers/ListController.php index 9ce4d0e..cda08aa 100644 --- a/application/controllers/ListController.php +++ b/application/controllers/ListController.php @@ -8,13 +8,10 @@ class ListController extends Zend_Controller_Action public function init() { $this->_helper->SyjSession->needsLogin(); - $this->view->headScript()->appendFile('js/OpenLayers.js'); - $this->view->headScript()->appendFile('js/prototype.js'); - $this->view->headScript()->appendFile('js/utils.js'); - $this->view->headScript()->appendFile('js/list.js'); + $this->_helper->SyjMedias->addScripts('list'); - $this->view->headLink()->appendStylesheet('css/generic.css'); - $this->view->headLink()->appendStylesheet('css/list.css'); + $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); + $this->view->headLink()->appendStylesheet('css/list.css', 'all'); $this->view->headTitle($this->view->translate("my routes")); }