X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FNewpwdController.php;h=85edbd9483ec04c5fa5143a52e4b9536b6f1a78b;hb=627f937d7241dc4b9311759fa446c3738d05f5a9;hp=1a4ab0798bc7d1c7f0d4bbc4e9e7b3e42fd94e12;hpb=8e7d8e39a2ee5801a2f68b95cdc0e84b55da1019;p=syj.git diff --git a/application/controllers/NewpwdController.php b/application/controllers/NewpwdController.php index 1a4ab07..85edbd9 100644 --- a/application/controllers/NewpwdController.php +++ b/application/controllers/NewpwdController.php @@ -6,10 +6,9 @@ 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/form.css', 'all'); $this->view->headLink()->appendStylesheet('css/newpwd.css', 'all'); } @@ -66,7 +65,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"), ); } }