]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/ContactController.php
list of javascript files set in config
[syj.git] / application / controllers / ContactController.php
index 3e82c7dc8bff5f86d37e92f0a0fb7d66f2437ccb..9520a67227dc5c644f3c5a4570d5a28aa4ffbe4c 100644 (file)
@@ -6,9 +6,7 @@ class ContactController extends Zend_Controller_Action
 {
 
     public function init() {
-        $this->view->headScript()->appendFile('js/prototype.js');
-        $this->view->headScript()->appendFile('js/utils.js');
-        $this->view->headScript()->appendFile('js/contact.js');
+        $this->_helper->SyjMedias->addScripts('contact');
         $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
         $this->view->headLink()->appendStylesheet('css/contact.css', 'all');
         $this->view->headTitle($this->view->translate("contact form"));