Il y a actuellement 75 visiteur(s) et 0 membre(s) en ligne.
Devenez membre privilégié en cliquant ici
Pages vues depuis 20/04/2015 : 21 735 344
Updated Mar 27
Hi Describe the bug Since v8 ? tested with 8.2 To Reproduce Steps to reproduce the behavior: Go to '(https://openlayers.org/en/latest/examples/ful…
Hi Describe the bug Since v8 ? tested with 8.2 To Reproduce Steps to reproduce the behavior: Go to '...' (it is just for example ...my site is aff…
Hi if i go here (https://github.com/openlayers/openlayers/releases/download/v8.1.0/v8.1.0-package.zip) i get a folder named v8 should not be v8.1 o…
Index du forum »» Geoloc »» geoloc "JSON.parse Error: Invalid character"
modules/sform/sform.php
ligne 985
rajouter
case 'lat':
if (!preg_match("/^[-]?([1-8]?\d(\.\d+)?|90(\.0+)?)$/", $valeur)) {
$this->error($nom, "La latitude doit être entre -90.0 et 90.0");
exit();
}
break;
case 'long':
if (!preg_match("/^[-]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/", $valeur)) {
$this->error($nom, "La longitude doit être entre -180.0 et 180.0");
exit();
}
break;
modules/sform/extend-user/extender/formulaire.php
lignes 60 et 61
remplacer par
$m->add_field($ch_lat,aff_langue('[french]Latitude[/french][english]Latitude[/english][chinese][/chinese][spanish]Latitud[/spanish][german]Breitengrad[/german]'),$$ch_lat,'text',false,'','','lat');
$m->add_field($ch_lon,aff_langue('[french]Longitude[/french][english]Longitude[/english][chinese][/chinese][spanish]Longitud[/spanish][german]Längengrad[/german]'),$$ch_lon,'text',false,'','','long');