public function init() {
$this->_helper->SyjSession->needsLogin();
+ $this->_helper->SyjMedias->addScripts('account');
- $this->view->headScript()->appendFile('js/prototype.js');
- $this->view->headScript()->appendFile('js/utils.js');
- $this->view->headScript()->appendFile('js/account.js');
$this->view->headLink()->appendStylesheet('css/generic.css', 'all');
+ $this->view->headLink()->appendStylesheet('css/form.css', 'all');
$this->view->headLink()->appendStylesheet('css/account.css', 'all');
$this->view->headTitle($this->view->translate("my account"));
}
protected function _jsLocaleStrings() {
$this->view->jslocales = array(
- 'notEmptyField' => __("Value is required and can't be empty"),
+ 'notEmptyField' => __("Value is required"),
'passwordNoMatchWarn' => __("Password do not match"),
'passwordLenghtWarn' => array(__("At least %d characters"), 6),
'nochangeWarn' => __("You have made no change"),