From 30390dd6e5f2fcbb5ca53d2de8b2d928ca0b22a9 Mon Sep 17 00:00:00 2001 From: Pascal Corpet Date: Sun, 30 Sep 2007 23:12:00 +0200 Subject: [PATCH] use geoloc/ link instead of geoloc/geoloc --- modules/geoloc.php | 2 +- templates/include/plview.geoloc.tpl | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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"> - + - +