X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FContactController.php;h=ef568393d60514b99eb0d4a6aba20cf330456f09;hb=70d6bb9dfa4c198607fbe75592f108bc8d69048b;hp=e72c467514b4bb89bda10917af81261fcb995ae5;hpb=8e7d8e39a2ee5801a2f68b95cdc0e84b55da1019;p=syj.git diff --git a/application/controllers/ContactController.php b/application/controllers/ContactController.php index e72c467..ef56839 100644 --- a/application/controllers/ContactController.php +++ b/application/controllers/ContactController.php @@ -6,10 +6,9 @@ class ContactController extends Zend_Controller_Action { public function init() { - $this->view->headScript()->appendFile('js/prototype.js'); - $this->view->headScript()->appendFile('js/utils.js'); - $this->view->headScript()->appendFile('js/contact.js'); + $this->_helper->SyjMedias->addScripts('contact'); $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); + $this->view->headLink()->appendStylesheet('css/form.css', 'all'); $this->view->headLink()->appendStylesheet('css/contact.css', 'all'); $this->view->headTitle($this->view->translate("contact form")); } @@ -119,7 +118,7 @@ class ContactController extends Zend_Controller_Action protected function _jsLocaleStrings() { $this->view->jslocales = array( - 'notEmptyField' => __("Value is required and can't be empty"), + 'notEmptyField' => __("Value is required"), 'invalidMail' => __("Invalid email")); } }