X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fgeoloc.php;h=f54f57e41d677eb4dfe32e983812780c3d436310;hb=1d10d3fd659fa8eb7c663d6bb599bc8bbc0feeb3;hp=ceb32439947dc2113870ad9a6f89294198581788;hpb=6637dfcc392f5c89cca4c4ebb31aad7940ea5933;p=platal.git diff --git a/modules/geoloc.php b/modules/geoloc.php index ceb3243..f54f57e 100644 --- a/modules/geoloc.php +++ b/modules/geoloc.php @@ -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'); }