projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Close #407: RSS feed for Forums and MLs
[platal.git]
/
modules
/
geoloc.php
diff --git
a/modules/geoloc.php
b/modules/geoloc.php
index
6ec7551
..
500e20d
100644
(file)
--- a/
modules/geoloc.php
+++ b/
modules/geoloc.php
@@
-226,7
+226,7
@@
class GeolocModule extends PLModule
}
if ($nb_synchro)
}
if ($nb_synchro)
- $page->trig(($nb_synchro > 1)?($nb_synchro." villes ont
été synchronisées"):"Une ville a été synchronisé
e");
+ $page->trig(($nb_synchro > 1)?($nb_synchro." villes ont
été synchronisées"):"Une ville a été synchronisé
e");
$res = XDB::query("SELECT COUNT(*) FROM geoloc_city WHERE lat = 0 AND lon = 0");
$page->assign("nb_missinglat", $res->fetchOneCell());
$res = XDB::query("SELECT COUNT(*) FROM geoloc_city WHERE lat = 0 AND lon = 0");
$page->assign("nb_missinglat", $res->fetchOneCell());
@@
-238,7
+238,7
@@
class GeolocModule extends PLModule
if ($action == 'cities_not_on_map') {
require_once('geoloc.inc.php');
if (!fix_cities_not_on_map(20))
if ($action == 'cities_not_on_map') {
require_once('geoloc.inc.php');
if (!fix_cities_not_on_map(20))
- $page->trig("Impossible d'acc
é
der au webservice");
+ $page->trig("Impossible d'acc
é
der au webservice");
else
$refresh = true;
}
else
$refresh = true;
}
@@
-255,7
+255,7
@@
class GeolocModule extends PLModule
if ($action == 'newmaps') {
require_once('geoloc.inc.php');
if (!get_new_maps(Env::v('url')))
if ($action == 'newmaps') {
require_once('geoloc.inc.php');
if (!get_new_maps(Env::v('url')))
- $page->trig("Impossible d'acc
é
der aux nouvelles cartes");
+ $page->trig("Impossible d'acc
é
der aux nouvelles cartes");
}
$countMissing = XDB::query("SELECT COUNT(*) FROM geoloc_city AS c LEFT JOIN geoloc_city_in_maps AS m ON(c.id = m.city_id) WHERE m.city_id IS NULL");
}
$countMissing = XDB::query("SELECT COUNT(*) FROM geoloc_city AS c LEFT JOIN geoloc_city_in_maps AS m ON(c.id = m.city_id) WHERE m.city_id IS NULL");
@@
-277,4
+277,5
@@
class GeolocModule extends PLModule
}
}
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>
?>