]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/NewpwdController.php
some style for forms
[syj.git] / application / controllers / NewpwdController.php
index 012738c07045d765a865779abd367844d232bd8a..85edbd9483ec04c5fa5143a52e4b9536b6f1a78b 100644 (file)
@@ -6,11 +6,10 @@ 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/form.css', 'all');
+        $this->view->headLink()->appendStylesheet('css/newpwd.css', 'all');
     }
 
     public function indexAction() {
@@ -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"),
             );
     }
 }