User can't remove identification footer from bug reports
[platal.git] / modules / geoloc.php
index ceb3243..dd16609 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2006 Polytechnique.org                              *
+ *  Copyright (C) 2003-2007 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -69,13 +69,7 @@ class GeolocModule extends PLModule
 
         if (!empty($GLOBALS['IS_XNET_SITE'])) {
             $page->assign('no_annu', 1);
-            if ($globals->asso('cat') == 'Promotions') {
-                new_group_open_page('geoloc/index.tpl');
-            } elseif ($globals->asso('pub') == 'public') {
-                new_group_page('geoloc/index.tpl');
-            } else {
-                new_groupadmin_page('geoloc/index.tpl');
-            }
+            new_annu_page('geoloc/index.tpl');
         } else {
             $page->changeTpl('geoloc/index.tpl');
         }