X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fbandeau.php;h=4a226ac37c30be69fbdd080f8248ba758c4dbfad;hb=9e2a6a32494b965216ec6c4a07dc37a7a15fc365;hp=87fa50905f4d564bf2b665bd6031354ab4856e8e;hpb=eaf30d86cc99df2414cf4f171a9b0f11b0561e3b;p=platal.git diff --git a/modules/bandeau.php b/modules/bandeau.php index 87fa509..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), ); } @@ -40,7 +40,8 @@ class BandeauModule extends PLModule 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)