X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=application%2Fcontrollers%2FNewpwdController.php;h=dc9ff5d46a11d263bcb5e80ada45d94c8989b06e;hb=d6940ce6e0ae4424d32efd66edc743d337dc3cf8;hp=1a4ab0798bc7d1c7f0d4bbc4e9e7b3e42fd94e12;hpb=8e7d8e39a2ee5801a2f68b95cdc0e84b55da1019;p=syj.git diff --git a/application/controllers/NewpwdController.php b/application/controllers/NewpwdController.php index 1a4ab07..dc9ff5d 100644 --- a/application/controllers/NewpwdController.php +++ b/application/controllers/NewpwdController.php @@ -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'); } @@ -66,7 +64,7 @@ class NewpwdController extends Zend_Controller_Action protected function _jsLocaleStrings() { $this->view->jslocales = array( - 'notEmptyField' => __("Value is required and can't be empty"), + 'notEmptyField' => __("Value is required"), ); } }