X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2FTermsofuseController.php;h=20b99e2ee2d0654b10282505cef1b284d93ff38b;hp=e1b8838b33332ddcd7d766b6c7ded1ccab3d1d81;hb=7ab93faefae14af39fc5449a2c3311dd68d2c0f9;hpb=190fd621df4920c56a422c03663874cddaa67d64 diff --git a/application/controllers/TermsofuseController.php b/application/controllers/TermsofuseController.php index e1b8838..20b99e2 100644 --- a/application/controllers/TermsofuseController.php +++ b/application/controllers/TermsofuseController.php @@ -1,14 +1,12 @@ 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->_helper->SyjMedias->addStyleSheets('termsofuse'); $this->view->headTitle($this->view->translate("terms of use")); + $this->view->rawmode = ($this->getRequest()->getQuery('format') == 'raw'); } }