Fixes "patte cassée" page for Google Apps users.
[platal.git] / modules / bandeau.php
index b9269b6..24d38be 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2007 Polytechnique.org                              *
+ *  Copyright (C) 2003-2008 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -24,9 +24,9 @@ class BandeauModule extends PLModule
     function handlers()
     {
         return array(
-            'bandeau/icone.png'  => $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,7 +36,7 @@ class BandeauModule extends PLModule
         readfile('../htdocs/images/x.png');
         exit();
     }
-    
+
     function handler_html(&$page, $login = '')
     {
         $page->changeTpl('skin/common.bandeau.tpl', NO_SKIN);
@@ -49,7 +49,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: