Changeset 96597 in spip-zone


Ignore:
Timestamp:
Apr 12, 2016, 1:32:24 PM (3 years ago)
Author:
kent1@…
Message:

Ici aussi faire genre que l'on code proprement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/gis/trunk/javascript/gis.js.html

    r96589 r96597  
    33[(#INCLURE{lib/leaflet/dist/[(#CONFIG{auto_compress_js}|=={oui}|?{'leaflet','leaflet-src'})].js})]
    44
    5 [L.Icon.Default.imagePath = "(#CHEMIN{lib/leaflet/dist/images}|url_absolue)";]
     5[L.Icon.Default.imagePath = '(#CHEMIN{lib/leaflet/dist/images}|url_absolue)';]
    66
    77(function() {
    88
    99L.gisConfig = {
    10         "gis_layers":#EVAL{json_encode($GLOBALS['gis_layers'])},
    11         "default_layer":"[(#REM|gis_layer_defaut)]",
    12         "affiche_layers":[(#CONFIG{gis/layers,#ARRAY}|json_encode)]
     10        'gis_layers': #EVAL{json_encode($GLOBALS['gis_layers'])},
     11        'default_layer': '[(#REM|gis_layer_defaut)]',
     12        'affiche_layers': [(#CONFIG{gis/layers,#ARRAY}|json_encode)]
    1313};
    1414
    1515L.geocoderConfig = {
    16         "forwardUrl":"[(#VAL{gis_geocoder_rechercher}|generer_url_action{mode=search}|html_entity_decode)]",
    17         "reverseUrl":"[(#VAL{gis_geocoder_rechercher}|generer_url_action{mode=reverse}|html_entity_decode)]"
     16        'forwardUrl': '[(#VAL{gis_geocoder_rechercher}|generer_url_action{mode=search}|html_entity_decode)]',
     17        'reverseUrl': '[(#VAL{gis_geocoder_rechercher}|generer_url_action{mode=reverse}|html_entity_decode)]'
    1818};
    1919
Note: See TracChangeset for help on using the changeset viewer.