X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FContactController.php;h=7caf24e02cbf2349639fb0c8128709ef7c4c1840;hb=7ab93faefae14af39fc5449a2c3311dd68d2c0f9;hp=9520a67227dc5c644f3c5a4570d5a28aa4ffbe4c;hpb=d6940ce6e0ae4424d32efd66edc743d337dc3cf8;p=syj.git diff --git a/application/controllers/ContactController.php b/application/controllers/ContactController.php index 9520a67..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/contact.css', 'all'); + $this->_helper->SyjMedias->addStyleSheets('contact'); $this->view->headTitle($this->view->translate("contact form")); } @@ -82,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');