X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fbandeau.php;h=4a226ac37c30be69fbdd080f8248ba758c4dbfad;hb=9e2a6a32494b965216ec6c4a07dc37a7a15fc365;hp=4f77b0c2d8c2206ffbce57bfc3567ccc57717950;hpb=8fc4efa394721853bca6ee0e4f2028f33ed0867d;p=platal.git diff --git a/modules/bandeau.php b/modules/bandeau.php index 4f77b0c..4a226ac 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), ); } @@ -36,11 +36,12 @@ class BandeauModule extends PLModule readfile('../htdocs/images/x.png'); exit(); } - + function handler_html(&$page, $login = '') { $page->changeTpl('skin/common.bandeau.tpl', NO_SKIN); - $page->assign('login', $login); + $page->assign('login', $login == 'login'); + $page->assign('seed', $login); } function handler_css(&$page) @@ -49,7 +50,7 @@ class BandeauModule extends PLModule readfile('../htdocs/css/bandeau.css'); exit(); } - + } // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: