X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fbandeau.php;h=4f2682d130446e594282e4028917782621c54ab8;hb=517ecea1229f166ce51fe443f428381ad5912f83;hp=f5008c0052634c7c272ce01ac59a966a05ef43e2;hpb=f3dca8703690b18d91fc1bcbe6bbdb96704e90a5;p=platal.git diff --git a/modules/bandeau.php b/modules/bandeau.php index f5008c0..4f2682d 100644 --- a/modules/bandeau.php +++ b/modules/bandeau.php @@ -1,6 +1,6 @@ $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');