X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fbandeau.php;h=0870348dddcc555d31bf92a0c4fac4ddc6a69309;hb=f04660bfe4add5cf47297d81d304274d3ef4d42e;hp=f5008c0052634c7c272ce01ac59a966a05ef43e2;hpb=6c21094e45512da7fb1321a1df4335b1d48ed9bd;p=platal.git diff --git a/modules/bandeau.php b/modules/bandeau.php index f5008c0..0870348 100644 --- a/modules/bandeau.php +++ b/modules/bandeau.php @@ -24,20 +24,20 @@ class BandeauModule extends PLModule function handlers() { return array( - 'bandeau/icone.png' => $this->make_hook('icone', AUTH_PUBLIC, 'user', NO_HTTPS), - 'bandeau' => $this->make_hook('html', AUTH_PUBLIC, 'user', NO_HTTPS), - 'bandeau.css' => $this->make_hook('css', AUTH_PUBLIC, 'user', NO_HTTPS), + 'bandeau/icone.png' => $this->make_hook('icone', AUTH_PUBLIC, 'user', NO_HTTPS), + 'bandeau' => $this->make_hook('html', AUTH_PUBLIC, 'user', NO_HTTPS), + 'bandeau.css' => $this->make_hook('css', AUTH_PUBLIC, 'user', NO_HTTPS), ); } - function handler_icone(&$page) + function handler_icone($page) { pl_cached_content_headers("image/png"); readfile('../htdocs/images/x.png'); exit(); } - function handler_html(&$page, $login = '') + function handler_html($page, $login = '') { pl_cached_content_headers("text/html"); $page->changeTpl('skin/common.bandeau.tpl', NO_SKIN); @@ -46,7 +46,7 @@ class BandeauModule extends PLModule $page->assign('external', true); } - function handler_css(&$page) + function handler_css($page) { pl_cached_content_headers("text/css"); readfile('../htdocs/css/bandeau.css');