]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/ListController.php
list of javascript files set in config
[syj.git] / application / controllers / ListController.php
index c02f19cf93ee7f34e376b212e8f856bce7c05d7e..cda08aabe990236d020ffb0b9bce202d24ddcd8d 100644 (file)
@@ -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');