]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/AccountController.php
update copyright headers
[syj.git] / application / controllers / AccountController.php
index c9c986ecba33ff6741ae1526acfb6c5344f892b1..40eba9ac68c003d5b1e62b5dc98a5721377191f2 100644 (file)
@@ -1,5 +1,5 @@
 <?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 AccountController extends Zend_Controller_Action
@@ -7,11 +7,10 @@ class AccountController extends Zend_Controller_Action
 
     public function init() {
         $this->_helper->SyjSession->needsLogin();
+        $this->_helper->SyjMedias->addScripts('account');
 
-        $this->view->headScript()->appendFile('js/prototype.js');
-        $this->view->headScript()->appendFile('js/utils.js');
-        $this->view->headScript()->appendFile('js/account.js');
         $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
+        $this->view->headLink()->appendStylesheet('css/form.css', 'all');
         $this->view->headLink()->appendStylesheet('css/account.css', 'all');
         $this->view->headTitle($this->view->translate("my account"));
     }