X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;ds=sidebyside;f=application%2Fcontrollers%2FAccountController.php;h=c79b4769cc84439a4fe273838d2e20c0b25c96d8;hb=0722c496ca63f30937427e3bf8fbdd5cfee2c83d;hp=5f20cc73849b863932ed287f6a8676abaf044945;hpb=d6940ce6e0ae4424d32efd66edc743d337dc3cf8;p=syj.git diff --git a/application/controllers/AccountController.php b/application/controllers/AccountController.php index 5f20cc7..c79b476 100644 --- a/application/controllers/AccountController.php +++ b/application/controllers/AccountController.php @@ -1,21 +1,22 @@ _helper->SyjSession->needsLogin(); + $this->_helper->SyjUserManager->needsLogin(); $this->_helper->SyjMedias->addScripts('account'); $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")); } public function indexAction() { - $user = $this->_helper->SyjSession->user(); + $user = $this->_helper->SyjUserManager->current(); $request = $this->getRequest(); $form = new Syj_Form_Account(array('name' => 'accountform'));