X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FListController.php;h=cda08aabe990236d020ffb0b9bce202d24ddcd8d;hb=e85f4874bb734d7b84cc2d10955db2065ac4f261;hp=c02f19cf93ee7f34e376b212e8f856bce7c05d7e;hpb=8e7d8e39a2ee5801a2f68b95cdc0e84b55da1019;p=syj.git diff --git a/application/controllers/ListController.php b/application/controllers/ListController.php index c02f19c..cda08aa 100644 --- a/application/controllers/ListController.php +++ b/application/controllers/ListController.php @@ -8,10 +8,7 @@ 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', 'all'); $this->view->headLink()->appendStylesheet('css/list.css', 'all');