X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FTermsofuseController.php;h=a1278bb645137f36ca225c584a008b24fa02aa0b;hb=c62fec904635ab47cff34f23db822e7ff017dd4e;hp=e1b8838b33332ddcd7d766b6c7ded1ccab3d1d81;hpb=190fd621df4920c56a422c03663874cddaa67d64;p=syj.git diff --git a/application/controllers/TermsofuseController.php b/application/controllers/TermsofuseController.php index e1b8838..a1278bb 100644 --- a/application/controllers/TermsofuseController.php +++ b/application/controllers/TermsofuseController.php @@ -1,14 +1,13 @@ 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'); } }