Code du Popup sur plusieurs ligne
[lhc/web/spip_carte_de_sites.git] / contenu / page-carte_de_sites.html
index 81f1c92..4e51b46 100755 (executable)
                                                });
                                                siteIcon = new WorkshopIcon()
                                                var markerAtelier = new L.Marker(new L.LatLng(#LAT, #LON), {icon: siteIcon});
-                                               markerAtelier.bindPopup("<span style='float: left; width: 45px;'><img src='[(#LOGO_SYNDIC||extraire_attribut{src}|url_absolue)]' alt='' style='width: 45px;' width='45'></span><a href='[(#ID_SYNDIC|generer_url_entite{site})]'>#NOM_SITE</a><br/>#DESCRIPTIF<span class='spip_documents spip_documents_right' style='float: right; width: 100px;'><span style='float: left; width: 100px;'><img src='[(#LOGO_SYNDIC_SURVOL||extraire_attribut{src}|url_absolue)]' alt='' style='width: 100px;' width='100'></span>#ADRESSE<br/> #CODE_POSTAL #VILLE<br/><a href='[(#URL_SITE)]'>[(#URL_SITE)]</a><br/><br/><em>Statut: [(#_ateliers_types:TITRE|supprimer_numero)]</em>");
+                                               markerAtelier.bindPopup("\
+                                                       <span style='float: left; width: 45px;'><img src='[(#LOGO_SYNDIC||extraire_attribut{src}|url_absolue)]' alt='' style='width: 45px;' width='45'></span>\
+                                                       <a href='[(#ID_SYNDIC|generer_url_entite{site})]'>#NOM_SITE</a><br/>#DESCRIPTIF\
+                                                       <span class='spip_documents spip_documents_right' style='float: right; width: 100px;'>\<img src='[(#LOGO_SYNDIC_SURVOL||extraire_attribut{src}|url_absolue)]' alt='' style='width: 100px;' width='100'></span>\
+                                                       #ADRESSE<br/> #CODE_POSTAL #VILLE<br/>\
+                                                       <a href='[(#URL_SITE)]'>[(#URL_SITE)]</a><br/><br/>\
+                                                       <em>Statut: [(#_ateliers_types:TITRE|supprimer_numero)]</em>\
+                                               ");
                                                group_#ID_MOT.addLayer(markerAtelier)
                                </BOUCLE_coord>
                </BOUCLE_sites>