X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fbandeau.php;h=50fb51cd5ecf4434ab4a8fa8f16421e85b6492e0;hb=5c11ce3d14becb0799434db3f1c6cc37eab3ca0f;hp=09d0ad667be6cb207c9cf9f64392af0da451064d;hpb=12262f1306059765d8625a6752364679c8625d31;p=platal.git diff --git a/modules/bandeau.php b/modules/bandeau.php index 09d0ad6..50fb51c 100644 --- a/modules/bandeau.php +++ b/modules/bandeau.php @@ -30,22 +30,23 @@ class BandeauModule extends PLModule ); } - 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); $page->assign('login', $login == 'login'); $page->assign('seed', $login); + $page->assign('external', true); } - function handler_css(&$page) + function handler_css($page) { pl_cached_content_headers("text/css"); readfile('../htdocs/css/bandeau.css');