]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/TermsofuseController.php
printing css style
[syj.git] / application / controllers / TermsofuseController.php
index e1b8838b33332ddcd7d766b6c7ded1ccab3d1d81..1fa7ffcb4394b459d9d359849d0c04969333bc41 100644 (file)
@@ -5,10 +5,9 @@
 class TermsofuseController extends Zend_Controller_Action
 {
     public function indexAction() {
-        $this->view->headLink()->appendStylesheet('css/generic.css');
-        $this->view->headLink()->appendStylesheet('css/termsofuse.css');
-        $this->view->headScript()->appendFile('js/prototype.js');
-        $this->view->headScript()->appendFile('js/termsofuse.js');
+        $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
+        $this->view->headLink()->appendStylesheet('css/termsofuse.css', 'all');
         $this->view->headTitle($this->view->translate("terms of use"));
+        $this->view->rawmode = ($this->getRequest()->getQuery('format') == 'raw');
     }
 }