<?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 LoginController extends Zend_Controller_Action
{
public function init() {
$this->view->headTitle($this->view->translate("login"));
- $this->view->headScript()->appendFile('js/prototype.js');
- $this->view->headScript()->appendFile('js/utils.js');
- $this->view->headScript()->appendFile('js/login.js');
- $this->view->headLink()->appendStylesheet('css/generic.css');
- $this->view->headLink()->appendStylesheet('css/login.css');
+ $this->_helper->SyjMedias->addScripts('login');
+ $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
+ $this->view->headLink()->appendStylesheet('css/form.css', 'all');
+ $this->view->headLink()->appendStylesheet('css/login.css', 'all');
}
public function loginAction() {