Changeset 49041 in spip-zone for _plugins_/gis/trunk


Ignore:
Timestamp:
Jun 24, 2011, 6:40:56 PM (10 years ago)
Author:
kent1@…
Message:

Des logos de points ça peut être utile ...

Location:
_plugins_/gis/trunk
Files:
1 added
6 edited

Legend:

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

    r48696 r49041  
    66$table_des_traitements['PAYS'][]= 'typo(extraire_multi(%s))';
    77
     8$GLOBALS['logo_libelles']['id_gis'] = _T('gis:libelle_logo_gis');
    89?>
  • _plugins_/gis/trunk/lang/gis_en.php

    r48996 r49041  
    6565        "label_ville" => "Town",
    6666        "lat" => "Latitude",
     67        "libelle_logo_gis" => "POINT\'S LOGO",
    6768        "lon" => "Longitude",
    6869       
  • _plugins_/gis/trunk/lang/gis_fr.php

    r48996 r49041  
    6565        "label_ville" => "Ville",
    6666        "lat" => "Latitude",
     67        "libelle_logo_gis" => "LOGO DU POINT",
    6768        "lon" => "Longitude",
    6869       
  • _plugins_/gis/trunk/plugin.xml

    r48996 r49041  
    22        <nom>GIS</nom>
    33        <auteur>b_b, kent1</auteur>
    4         <version>2.0.4</version>
     4        <version>2.0.5</version>
    55        <version_base>2.0.1</version_base>
    66        <licence>GNU/GPL</licence>
     
    6767                <inclure>gis_pipelines.php</inclure>
    6868        </pipeline>
     69        <pipeline>
     70                <nom>autoriser</nom>
     71                <inclure>gis_autoriser.php</inclure>
     72        </pipeline>
    6973        <utilise id="cfg" version="[1.12;]" />
    7074        <utilise id="selecteur_generique" version="[1.12;]" />
  • _plugins_/gis/trunk/prive/exec/gis_editer.html

    r48865 r49041  
    2222        </div>
    2323</div>
     24[(#ENV**{id_gis}|gis_form_logo)]
    2425[(#INCLURE{fond=prive/navigation/gis_editer,ajax,env})]
    2526]
  • _plugins_/gis/trunk/prive/exec/gis_editer_fonctions.php

    r48865 r49041  
    33include_spip('inc/presentation');
    44
     5function gis_form_logo($id_gis){
     6        include_spip('inc/presentation');
     7        $editable = false;
     8        if(autoriser('iconifier', 'gis', $id_gis)){
     9                $editable = true;
     10        }
     11        $iconifier = charger_fonction('iconifier', 'inc');
     12        spip_log($id_gis,'test');
     13        $icone = $iconifier('id_gis', $id_gis,'gis', false, $editable);
     14        return $icone;
     15}
    516?>
Note: See TracChangeset for help on using the changeset viewer.