X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fbandeau.php;h=e9835fd21b08e034acdfef5ed5717edd96590aab;hb=1060c8546df1c97e99d8313b8d9495f6847fdb99;hp=94d0cbbd2e7c7b234ad6bfcbb73199fc1c0f28b2;hpb=1fe552411d990b619d5aba82050c69da19c26b17;p=platal.git diff --git a/modules/bandeau.php b/modules/bandeau.php index 94d0cbb..e9835fd 100644 --- a/modules/bandeau.php +++ b/modules/bandeau.php @@ -1,6 +1,6 @@ $this->make_hook('icone',AUTH_PUBLIC), - 'bandeau' => $this->make_hook('html', AUTH_PUBLIC), - 'bandeau.css' => $this->make_hook('css', AUTH_PUBLIC), + '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,8 @@ class BandeauModule extends PLModule readfile('../htdocs/css/bandeau.css'); exit(); } - + } +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>