Update core
[platal.git] / modules / bandeau.php
index 012281e..50fb51c 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2009 Polytechnique.org                              *
+ *  Copyright (C) 2003-2011 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -30,22 +30,23 @@ class BandeauModule extends PLModule
         );
     }
 
-    function handler_icone(&$page)
+    function handler_icone($page)
     {
         pl_cached_content_headers("image/png");
         readfile('../htdocs/images/x.png');
         exit();
     }
 
-    function handler_html(&$page, $login = '')
+    function handler_html($page, $login = '')
     {
         pl_cached_content_headers("text/html");
         $page->changeTpl('skin/common.bandeau.tpl', NO_SKIN);
         $page->assign('login', $login == 'login');
         $page->assign('seed', $login);
+        $page->assign('external', true);
     }
 
-    function handler_css(&$page)
+    function handler_css($page)
     {
         pl_cached_content_headers("text/css");
         readfile('../htdocs/css/bandeau.css');