X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FContactController.php;h=7caf24e02cbf2349639fb0c8128709ef7c4c1840;hb=7ab93faefae14af39fc5449a2c3311dd68d2c0f9;hp=ef568393d60514b99eb0d4a6aba20cf330456f09;hpb=70d6bb9dfa4c198607fbe75592f108bc8d69048b;p=syj.git diff --git a/application/controllers/ContactController.php b/application/controllers/ContactController.php index ef56839..7caf24e 100644 --- a/application/controllers/ContactController.php +++ b/application/controllers/ContactController.php @@ -1,5 +1,5 @@ _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->_helper->SyjMedias->addStyleSheets('contact'); $this->view->headTitle($this->view->translate("contact form")); } @@ -83,7 +81,7 @@ class ContactController extends Zend_Controller_Action } if (empty($formData)) { - $user = $this->_helper->SyjSession->user(); + $user = $this->_helper->SyjUserManager->current(); if ($user) { $form->contact_email->setValue($user->email) ->setAttrib('readonly', 'true');