Changeset 106961 in spip-zone


Ignore:
Timestamp:
Oct 16, 2017, 4:50:48 PM (2 years ago)
Author:
erational@…
Message:

notice PHP en moins

Location:
_plugins_/gis/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/gis/trunk/gis_options.php

    r104886 r106961  
    1111
    1212$config = @unserialize($GLOBALS['meta']['gis']);
     13$api_key_bing = isset($config['api_key_bing']) ? trim($config['api_key_bing']) : '';
    1314
    1415$gis_layers = array (
     
    4748        'bing_aerial' => array(
    4849                'nom' => 'Bing Aerial',
    49                 'layer' => 'L.BingLayer("'.$config['api_key_bing'].'")'
     50                'layer' => 'L.BingLayer("'.$api_key_bing.'")'
    5051        ),
    5152        'opentopomap' => array(
  • _plugins_/gis/trunk/paquet.xml

    r105025 r106961  
    22        prefix="gis"
    33        categorie="divers"
    4         version="4.44.2"
     4        version="4.44.3"
    55        schema="2.1.0"
    66        etat="stable"
     
    2525        <credit lien="https://photon.komoot.de/">Photon</credit>
    2626        <credit lien="http://mattrich.deviantart.com/art/Picnic-101256405">Icône de mattrich sous licence CC BY-NC-SA</credit>
    27         <copyright>2011-2016</copyright>
     27        <copyright>2011-2017</copyright>
    2828        <licence>GPL v3</licence>
    2929
Note: See TracChangeset for help on using the changeset viewer.