$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) { header("Content-Type: image/png"); readfile('../htdocs/images/x.png'); exit(); } function handler_html(&$page, $login = '') { $page->changeTpl('skin/common.bandeau.tpl', NO_SKIN); $page->assign('login', $login); } function handler_css(&$page) { header("Content-Type: text/css"); readfile('../htdocs/css/bandeau.css'); exit(); } } // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>