From: Pascal Corpet Date: Sun, 30 Sep 2007 21:12:00 +0000 (+0200) Subject: use geoloc/ link instead of geoloc/geoloc X-Git-Tag: xorg/0.9.15~76 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=30390dd6e5f2fcbb5ca53d2de8b2d928ca0b22a9;p=platal.git use geoloc/ link instead of geoloc/geoloc --- diff --git a/modules/geoloc.php b/modules/geoloc.php index d9d7358..e276e1f 100644 --- a/modules/geoloc.php +++ b/modules/geoloc.php @@ -36,7 +36,7 @@ class GeolocModule extends PLModule $set = new UserSet(); $set->addMod('geoloc', 'Geolocalisation', true); - $set->apply('geoloc', $page, $action, $subaction); + $set->apply('geoloc', $page, 'geoloc', $action); } function handler_admin(&$page, $action = false) { diff --git a/templates/include/plview.geoloc.tpl b/templates/include/plview.geoloc.tpl index 8393328..6f3f417 100644 --- a/templates/include/plview.geoloc.tpl +++ b/templates/include/plview.geoloc.tpl @@ -52,7 +52,7 @@ function searchMapId() {if $smarty.request.only_current neq 'on'}

- [Ne voir que les adresses principales] + [Ne voir que les adresses principales]

{/if} @@ -63,13 +63,13 @@ function searchMapId() width="600" height="450" align="middle"> - + - +