From: Ludovic CHEVALIER Date: Sat, 26 Jan 2013 19:03:55 +0000 (+0100) Subject: [localisation] +popup d'information pour le formulaire d'jout d'un nouveau point X-Git-Tag: v1.2.0~15 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/%40%20%27info_adresse%27%20=%3E%20%27to%20this%20address:%27%2C%20%27info_adresse_url%27%20=%3E%20%27URL%20of%20the%20public%20site%27%2C%20%27info_afficher_par_nb%27%20=%3E%20%27Show%20%27%2C-%27info_afficher_visites%27%20=%3E%20%27Show%20visits%20for:%27%2C%20%27info_aide_en_ligne%27%20=%3E%20%27SPIP%20Online%20Help%27%2C%20%27info_ajout_image%27%20=%3E%20%27When%20you%20add%20images%20as%20attached%20documents%20to%20an%20article%2C%20%20%20SPIP%20can%20automatically%20create%20thumbnails%20from%20%20%20inserted%20images.%20This%20will%20allow%2C%20for%20instance%2C%20the%20automated%20%20%20creation%20of%20a%20gallery%20or%20portfolio.%27%2C-%27info_ajout_participant%27%20=%3E%20%27The%20following%20participant%20has%20been%20added:%27%2C%20%27info_ajouter_rubrique%27%20=%3E%20%27Add%20another%20section%20to%20manage:%27%2C%20%27info_annonce_nouveautes%27%20=%3E%20%27Latest%20news%20announcements%27%2C-%27info_anterieur%27%20=%3E%20%27previous%27%2C%20%27info_article%27%20=%3E%20%27article%27%2C%20%27info_article_2%27%20=%3E%20%27articles%27%2C%20%27info_article_a_paraitre%27%20=%3E%20%27Post-dated%20articles%20set%20for%20publication%27%2C%40%40%20-268%2C17%20%20229%2C12%20%40%40%20Do%20not%20submit%20this%20import%20request.%3Cp%3EFor%20more%20information%2C%20please%20see%20%3Ca%20href=?a=commitdiff_plain;h=d3daccfa0620c16e3e4ea74f96c5e8dd77b6a2ce;p=lhc%2Fweb%2Fspip_carte_de_sites.git [localisation] +popup d'information pour le formulaire d'jout d'un nouveau point --- diff --git a/contenu/page-carte_de_sites.html b/contenu/page-carte_de_sites.html index 1485f28..4811690 100755 --- a/contenu/page-carte_de_sites.html +++ b/contenu/page-carte_de_sites.html @@ -78,6 +78,9 @@ function onMapClick(e) { document.getElementById("#ENV{champ_lat}").value=e.latlng.lat.toFixed(18); document.getElementById("#ENV{champ_lon}").value=e.latlng.lng.toFixed(18); + popup.setLatLng(e.latlng); + popup.setContent("<:carte_de_sites:coordonnees_clic:>"); + map.openPopup(popup); } ] diff --git a/lang/carte_de_sites_en.php b/lang/carte_de_sites_en.php index a6556fe..85716b7 100644 --- a/lang/carte_de_sites_en.php +++ b/lang/carte_de_sites_en.php @@ -3,7 +3,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'carte' => 'Map', 'legende' => 'Key', 'inclure_carte' => 'To insert the map in your website ...', -'coordonnees_clic' => 'Coordinates of your clic (Latitude,Longitude)', +'coordonnees_clic' => 'Coordinates of your click has just been reported in the survey below. To be more accurate, you can zoom even more on your bike co-op and click again.', 'vue_cycle' => 'Bike ways', 'vue_nuit' => 'Night view', 'vue_jour' => 'Day view', diff --git a/lang/carte_de_sites_fr.php b/lang/carte_de_sites_fr.php index 5efdb55..9caa0b8 100644 --- a/lang/carte_de_sites_fr.php +++ b/lang/carte_de_sites_fr.php @@ -3,7 +3,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'carte' => 'Carte', 'legende' => 'Légende', 'inclure_carte' => 'Pour inclure la carte dans votre site oueb ...', -'coordonnees_clic' => 'Coordonnées de votre clic (Latitude,Longitude)', +'coordonnees_clic' => 'Les coordonnées de votre clic ont été reportées dans le formulaire ci-dessous. Pour être encore plus précis, vous pouvez zoomer plus encore sur votre atelier et re-cliquer.', 'vue_cycle' => 'Voies cyclables', 'vue_nuit' => 'Vue de nuit', 'vue_jour' => 'Vue de jour',