]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/TermsofuseController.php
raw mode for termsofuse
[syj.git] / application / controllers / TermsofuseController.php
index e1b8838b33332ddcd7d766b6c7ded1ccab3d1d81..928966ed5af11d71b5584072a4a3f796ded973fa 100644 (file)
@@ -7,8 +7,7 @@ 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->headTitle($this->view->translate("terms of use"));
+        $this->view->rawmode = ($this->getRequest()->getQuery('format') == 'raw');
     }
 }