X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxnet%2Fpage.inc.php;h=8acc8eb69b10f06942063449ef3cebf374414127;hb=85909256a0e91d844682eb5a4c0c76553e1042e1;hp=dd0cca3330e07a27050d1af41d7cf929c913b5f5;hpb=dd9bac8f7903e9924525ad8db3e38650ff5ad1b6;p=platal.git diff --git a/include/xnet/page.inc.php b/include/xnet/page.inc.php index dd0cca3..8acc8eb 100644 --- a/include/xnet/page.inc.php +++ b/include/xnet/page.inc.php @@ -96,7 +96,7 @@ class XnetPage extends PlatalPage if ($perms->hasFlag('groupannu')) { $sub['annuaire du groupe'] = "$dim/annuaire"; $sub['trombinoscope'] = "$dim/trombi"; - $sub['carte'] = "$dim/geoloc"; + $sub['planisphère'] = "$dim/geoloc"; } if ($perms->hasFlag('groupmember')) { if ($globals->asso('forum')) { @@ -125,13 +125,13 @@ class XnetPage extends PlatalPage } if (S::has_perms()) { $sub['gérer les groupes'] = array('href' => 'admin', 'style' => 'color: gray;'); - $sub['clear cache'] = array('href' => 'purge_cache', 'style' => 'color: gray;'); + $sub['clear cache'] = array('href' => 'purge_cache?token=' . S::v('xsrf_token'), 'style' => 'color: gray;'); } $menu['Administrer'] = $sub; } elseif (S::has_perms()) { $sub = array(); $sub['gérer les groupes'] = 'admin'; - $sub['clear cache'] = 'purge_cache'; + $sub['clear cache'] = 'purge_cache?token=' . S::v('xsrf_token'); $menu['Administrer'] = $sub; }