X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2FLoginController.php;h=ce9db39dd07d217e058728ccb1a0ee704bcb26b2;hp=ed1514f1ec85ce1b776802b07a55fc8c8f63e1e8;hb=70d6bb9dfa4c198607fbe75592f108bc8d69048b;hpb=5fe9a5fef61308515cd1913f0bb7cc4a4ecf0253 diff --git a/application/controllers/LoginController.php b/application/controllers/LoginController.php index ed1514f..ce9db39 100644 --- a/application/controllers/LoginController.php +++ b/application/controllers/LoginController.php @@ -6,11 +6,10 @@ 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() {