]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/NewpwdController.php
list of javascript files set in config
[syj.git] / application / controllers / NewpwdController.php
index de8ec3b644fcb9a242fc518fb253d94d411bbd41..dc9ff5d46a11d263bcb5e80ada45d94c8989b06e 100644 (file)
@@ -6,9 +6,7 @@ class NewpwdController extends Zend_Controller_Action
 {
 
     public function init() {
-        $this->view->headScript()->appendFile('js/prototype.js');
-        $this->view->headScript()->appendFile('js/newpwd.js');
-        $this->view->headScript()->appendFile('js/utils.js');
+        $this->_helper->SyjMedias->addScripts('newpwd');
         $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
         $this->view->headLink()->appendStylesheet('css/newpwd.css', 'all');
     }