Changeset 96463 in spip-zone
- Timestamp:
- Apr 5, 2016, 10:51:18 AM (5 years ago)
- Location:
- _plugins_/gis/trunk
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/gis/trunk/base/gis.php
r92770 r96463 45 45 "departement" => "text NOT NULL DEFAULT ''", 46 46 "ville" => "text NOT NULL DEFAULT ''", 47 "code_postal" => "varchar(255) NOT NULL DEFAULT ''" 47 "code_postal" => "varchar(255) NOT NULL DEFAULT ''", 48 "color" => "varchar(25) NOT NULL DEFAULT ''", 49 "weight" => "varchar(4) NOT NULL DEFAULT ''", 50 "opacity" => "varchar(4) NOT NULL DEFAULT ''", 51 "fillcolor" => "varchar(25) NOT NULL DEFAULT ''", 52 "fillopacity" => "varchar(4) NOT NULL DEFAULT ''" 48 53 ), 49 54 'key' => array( … … 72 77 'url_edit' => 'gis_edit', 73 78 'editable' => 'oui', 74 'champs_editables' => array('lat', 'lon', 'zoom', 'titre', 'descriptif', 'adresse', 'code_postal', 'ville', 'region', 'departement', 'pays', 'code_pays' ),75 'champs_versionnes' => array('lat', 'lon', 'zoom', 'titre', 'descriptif', 'adresse', 'code_postal', 'ville', 'region', 'departement', 'pays', 'code_pays' ),79 'champs_editables' => array('lat', 'lon', 'zoom', 'titre', 'descriptif', 'adresse', 'code_postal', 'ville', 'region', 'departement', 'pays', 'code_pays', 'color', 'weight', 'opacity', 'fillcolor', 'fillopacity'), 80 'champs_versionnes' => array('lat', 'lon', 'zoom', 'titre', 'descriptif', 'adresse', 'code_postal', 'ville', 'region', 'departement', 'pays', 'code_pays', 'color', 'weight', 'opacity', 'fillcolor', 'fillopacity'), 76 81 'icone_objet' => 'gis', 77 82 'rechercher_champs' => array( -
_plugins_/gis/trunk/formulaires/configurer_gis.html
r91550 r96463 73 73 label=<:gis:cfg_lbl_adresse:>, 74 74 explication=<:gis:cfg_inf_adresse:>})] 75 76 [(#PLUGIN{gisgeom}|oui) 77 [(#SAISIE{oui_non,styles, 78 defaut='', 79 label=<:gis:cfg_lbl_styles:>, 80 explication=<:gis:cfg_inf_styles:>})] 81 ] 75 82 76 83 [(#SAISIE{oui_non,geolocaliser_user_html5, -
_plugins_/gis/trunk/formulaires/editer_gis.html
r91550 r96463 56 56 </[(#VAL{ul}|saisie_balise_structure_formulaire)]></fieldset> 57 57 </[(#VAL{li}|saisie_balise_structure_formulaire)]> 58 <[(#VAL{li}|saisie_balise_structure_formulaire)] class="fieldset styles"[(#PLUGIN{gisgeom}|et{#CONFIG{gis/styles}|=={on}}|non) style="display: none;"]> 59 <fieldset><[(#VAL{ul}|saisie_balise_structure_formulaire)]> 60 [(#SAISIE{couleur,color, 61 label=<:gis:label_color:>})] 62 [(#SAISIE{input,weight, 63 label=<:gis:label_weight:>})] 64 [(#SAISIE{input,opacity, 65 label=<:gis:label_opacity:>})] 66 [(#SAISIE{couleur,fillcolor, 67 label=<:gis:label_fillcolor:>})] 68 [(#SAISIE{input,fillopacity, 69 label=<:gis:label_fillopacity:>})] 70 </[(#VAL{ul}|saisie_balise_structure_formulaire)]></fieldset> 71 </[(#VAL{li}|saisie_balise_structure_formulaire)]> 58 72 </[(#VAL{ul}|saisie_balise_structure_formulaire)]> 59 73 [(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ] -
_plugins_/gis/trunk/gis_administrations.php
r92770 r96463 76 76 array('sql_alter', 'TABLE spip_gis_liens ADD INDEX (id_objet)'), 77 77 ); 78 79 // Ajout des champs de styles (color, weight, opacity, fillcolor & fillopacity) 80 $maj['2.1.0'] = array( 81 array('maj_tables',array('spip_gis')), 82 ); 78 83 79 84 include_spip('base/upgrade'); -
_plugins_/gis/trunk/javascript/leaflet.gis.js
r96415 r96463 177 177 if (data.features.length > 0){ 178 178 var geojson = L.geoJson('', { 179 style: this.options.pathStyles, 179 style: this.options.pathStyles ? this.options.pathStyles : function (feature) { 180 return feature.properties.styles; 181 }, 180 182 onEachFeature: function (feature, layer) { 181 183 // Déclarer l'icone du point -
_plugins_/gis/trunk/json/gis.html
r91557 r96463 6 6 "title":[(#TITRE*|extraire_multi|supprimer_numero|json_encode)], 7 7 "description":[(#DESCRIPTIF|json_encode)][ 8 (#LOGO_GIS|gis_icon_properties)] 8 (#LOGO_GIS|gis_icon_properties)][, 9 "styles": (#GEOMETRY_STYLES|appliquer_filtre{geometry_styles_to_json})] 9 10 }}</BOUCLE_gis> -
_plugins_/gis/trunk/json/gis_articles.html
r91557 r96463 6 6 "title":[(#URL_ARTICLE|lien_ou_expose{[(#TITRE_GIS*|sinon{#TITRE*}|extraire_multi|supprimer_numero)]}|json_encode)], 7 7 "description":[(#DESCRIPTIF_GIS|sinon{#DESCRIPTIF}|json_encode)][ 8 (#LOGO_GIS|gis_icon_properties)] 8 (#LOGO_GIS|gis_icon_properties)][, 9 "styles": (#GEOMETRY_STYLES|appliquer_filtre{geometry_styles_to_json})] 9 10 }}</BOUCLE_art> -
_plugins_/gis/trunk/json/gis_articles_branche.html
r91557 r96463 6 6 "title":[(#URL_ARTICLE|lien_ou_expose{[(#TITRE_GIS*|sinon{#TITRE*}|extraire_multi|supprimer_numero)]}|json_encode)], 7 7 "description":[(#DESCRIPTIF_GIS|sinon{#DESCRIPTIF}|json_encode)][ 8 (#LOGO_GIS|gis_icon_properties)] 8 (#LOGO_GIS|gis_icon_properties)][, 9 "styles": (#GEOMETRY_STYLES|appliquer_filtre{geometry_styles_to_json})] 9 10 }}</BOUCLE_art> -
_plugins_/gis/trunk/json/gis_auteurs.html
r91557 r96463 6 6 "title":[(#URL_AUTEUR|lien_ou_expose{[(#TITRE_GIS*|sinon{#NOM*}|extraire_multi|supprimer_numero)]}|json_encode)], 7 7 "description":[(#DESCRIPTIF_GIS|sinon{#BIO}|json_encode)][ 8 (#LOGO_GIS|gis_icon_properties)] 8 (#LOGO_GIS|gis_icon_properties)][, 9 "styles": (#GEOMETRY_STYLES|appliquer_filtre{geometry_styles_to_json})] 9 10 }}</BOUCLE_auteurs> -
_plugins_/gis/trunk/json/gis_documents.html
r91557 r96463 6 6 "title":[(#URL_DOCUMENT|lien_ou_expose{[(#TITRE_GIS*|sinon{#TITRE*}|extraire_multi|supprimer_numero)]}|json_encode)], 7 7 "description":[(#DESCRIPTIF_GIS|sinon{#DESCRIPTIF}|json_encode)][ 8 (#LOGO_GIS|gis_icon_properties)] 8 (#LOGO_GIS|gis_icon_properties)][, 9 "styles": (#GEOMETRY_STYLES|appliquer_filtre{geometry_styles_to_json})] 9 10 }}</BOUCLE_doc> -
_plugins_/gis/trunk/json/gis_evenements.html
r91557 r96463 6 6 "title":[(#URL_EVENEMENT|extraire_multi|lien_ou_expose{[(#TITRE_GIS*|sinon{#TITRE*}|supprimer_numero)]}|json_encode)], 7 7 "description":[(#DESCRIPTIF_GIS|sinon{#DESCRIPTIF}|json_encode)][ 8 (#LOGO_GIS|gis_icon_properties)] 8 (#LOGO_GIS|gis_icon_properties)][, 9 "styles": (#GEOMETRY_STYLES|appliquer_filtre{geometry_styles_to_json})] 9 10 }}</BOUCLE_events> -
_plugins_/gis/trunk/json/gis_mots.html
r91557 r96463 6 6 "title":[(#URL_MOT|lien_ou_expose{[(#TITRE_GIS*|sinon{#TITRE*}|extraire_multi|supprimer_numero)]}|json_encode)], 7 7 "description":[(#DESCRIPTIF_GIS|sinon{#DESCRIPTIF}|json_encode)][ 8 (#LOGO_GIS|gis_icon_properties)] 8 (#LOGO_GIS|gis_icon_properties)][, 9 "styles": (#GEOMETRY_STYLES|appliquer_filtre{geometry_styles_to_json})] 9 10 }}</BOUCLE_mots> -
_plugins_/gis/trunk/json/gis_organisations.html
r91677 r96463 6 6 "title":[(#TITRE_GIS*|sinon{#NOM*}|extraire_multi|supprimer_numero|json_encode)], 7 7 "description":[(#DESCRIPTIF_GIS|sinon{#DESCRIPTIF}|json_encode)][ 8 (#LOGO_GIS|gis_icon_properties)] 8 (#LOGO_GIS|gis_icon_properties)][, 9 "styles": (#GEOMETRY_STYLES|appliquer_filtre{geometry_styles_to_json})] 9 10 }}</BOUCLE_organisations> -
_plugins_/gis/trunk/json/gis_rubriques.html
r91557 r96463 6 6 "title":[(#URL_RUBRIQUE|extraire_multi|lien_ou_expose{[(#TITRE_GIS*|sinon{#TITRE*}|supprimer_numero)]}|json_encode)], 7 7 "description":[(#DESCRIPTIF_GIS|sinon{#DESCRIPTIF}|json_encode)][ 8 (#LOGO_GIS|gis_icon_properties)] 8 (#LOGO_GIS|gis_icon_properties)][, 9 "styles": (#GEOMETRY_STYLES|appliquer_filtre{geometry_styles_to_json})] 9 10 }}</BOUCLE_rub> -
_plugins_/gis/trunk/json/gis_sites.html
r91557 r96463 6 6 "title":[(#ID_SYNDIC|generer_url_entite{site}|lien_ou_expose{[(#TITRE_GIS*|sinon{#NOM_SITE*}|extraire_multi|supprimer_numero)]}|json_encode)], 7 7 "description":[(#DESCRIPTIF_GIS|sinon{#DESCRIPTIF}|json_encode)][ 8 (#LOGO_GIS|gis_icon_properties)] 8 (#LOGO_GIS|gis_icon_properties)][, 9 "styles": (#GEOMETRY_STYLES|appliquer_filtre{geometry_styles_to_json})] 9 10 }}</BOUCLE_sit> -
_plugins_/gis/trunk/json/gis_tous_avec_liens_espace_prive.html
r91557 r96463 6 6 "title":[(#VAL{<a href='[(#ID_GIS|generer_url_entite{gis,'','',0})]'>[(#TITRE*|extraire_multi|supprimer_numero|sinon{----})]</a>}|json_encode)], 7 7 "description":[(#DESCRIPTIF|json_encode)][(#SET{logo_doc,''})][ 8 (#LOGO_GIS|gis_icon_properties)] 8 (#LOGO_GIS|gis_icon_properties)][, 9 "styles": (#GEOMETRY_STYLES|appliquer_filtre{geometry_styles_to_json})] 9 10 }}</BOUCLE_gis> -
_plugins_/gis/trunk/lang/gis_fr.php
r94099 r96463 25 25 'cfg_inf_geolocaliser_user_html5' => 'Si le navigateur de l’utilisateur le permet, son emplacement géographique approximatif est récupéré pour donner la position par défaut lors de la création d’un point.', 26 26 'cfg_inf_google' => 'Cette API nécessite une clé à créer sur <a href=\'@url@\' class="spip_out">le site de GoogleMaps</a>.', 27 'cfg_inf_styles' => 'Affiche des champs supplémentaires de style (couleur, opacité, épaisseur...)', 27 28 'cfg_inf_yandex' => 'Cette API nécessite une clé à créer sur <a href=\'@url@\' class="spip_out">le site de Yandex</a>.', 28 29 'cfg_lbl_activer_objets' => 'Activer la géolocalisation sur les contenus :', … … 50 51 'cfg_lbl_maptype_relief' => 'Relief', 51 52 'cfg_lbl_maptype_satellite' => 'Satellite', 53 'cfg_lbl_styles' => 'Afficher les champs de styles', 52 54 'cfg_titre_gis' => 'Configuration de GIS', 53 55 … … 94 96 'label_code_pays' => 'Code pays', 95 97 'label_code_postal' => 'Code postal', 98 'label_color' => 'Couleur', 96 99 'label_departement' => 'Département', 100 'label_fillcolor' => 'Couleur de remplissage', 101 'label_fillopacity' => 'Opacité de remplissage', 97 102 'label_import' => 'Importer', 98 103 'label_inserer_modele_articles' => 'liés aux articles', … … 127 132 'label_inserer_modele_sites' => 'liés aux sites', 128 133 'label_inserer_modele_titre_carte' => 'Titre de la carte', 134 'label_opacity' => 'Opacité', 129 135 'label_pays' => 'Pays', 130 136 'label_rechercher_address' => 'Rechercher une adresse', … … 132 138 'label_region' => 'Région', 133 139 'label_ville' => 'Ville', 140 'label_weight' => 'Épaisseur', 134 141 'lat' => 'Latitude', 135 142 'libelle_logo_gis' => 'LOGO DU POINT', -
_plugins_/gis/trunk/paquet.xml
r96415 r96463 2 2 prefix="gis" 3 3 categorie="divers" 4 version="4.3 2.7"5 schema="2. 0.8"4 version="4.33.0" 5 schema="2.1.0" 6 6 etat="stable" 7 7 compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset
for help on using the changeset viewer.