<?php
-/* This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
+/* This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
and is published under the AGPL license. */
class ContactController extends Zend_Controller_Action
public function init() {
$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"));
}
}
if (empty($formData)) {
- $user = $this->_helper->SyjSession->user();
+ $user = $this->_helper->SyjUserManager->current();
if ($user) {
$form->contact_email->setValue($user->email)
->setAttrib('readonly', 'true');