X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FNewpwdController.php;h=dc9ff5d46a11d263bcb5e80ada45d94c8989b06e;hb=d6940ce6e0ae4424d32efd66edc743d337dc3cf8;hp=012738c07045d765a865779abd367844d232bd8a;hpb=05ce9238adfa982746bfc6211b240fd24526af09;p=syj.git diff --git a/application/controllers/NewpwdController.php b/application/controllers/NewpwdController.php index 012738c..dc9ff5d 100644 --- a/application/controllers/NewpwdController.php +++ b/application/controllers/NewpwdController.php @@ -6,11 +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->view->headLink()->appendStylesheet('css/generic.css'); - $this->view->headLink()->appendStylesheet('css/newpwd.css'); + $this->_helper->SyjMedias->addScripts('newpwd'); + $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); + $this->view->headLink()->appendStylesheet('css/newpwd.css', 'all'); } public function indexAction() { @@ -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"), ); } }