Ignore:
Timestamp:
08/22/12 18:11:55 (7 years ago)
Author:
kent1
Message:

On suit le changement de pipeline cf r6919

Location:
plugins_spip/diogene_complements/diogene_geo/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins_spip/diogene_complements/diogene_geo/trunk/diogene_geo_pipelines.php

    r6726 r6920  
    172172
    173173/**
    174  * Insertion dans le pipeline diogene_champs_sup (plugin Diogene)
     174 * Insertion dans le pipeline diogene_objets (plugin Diogene)
    175175 * On ajoute la possibilité d'avoir une partie de formulaire pour gis pour les articles, les rubriques,
    176176 * les pages spécifiques et emballe_medias
     
    178178 * @param array $flux Le contexte du flux
    179179 */
    180 function diogene_geo_diogene_champs_sup($flux){
    181         if(defined('_DIR_PLUGIN_GIS')){
    182                 $flux['article']['geo'] = $flux['page']['geo'] = $flux['emballe_media']['geo'] = _T('diogene_geo:form_legend');
    183                 $flux['rubrique']['geo'] = _T('diogene_geo:form_legend');
     180function diogene_geo_diogene_objets($flux){
     181        if(defined('_DIR_PLUGIN_GIS')){
     182                $flux['article']['champs_sup']['geo'] = $flux['rubrique']['champs_sup']['geo'] = _T('diogene_geo:form_legend');
     183                if(defined('_DIR_PLUGIN_PAGES'))
     184                        $flux['page']['champs_sup']['geo'] = _T('diogene_geo:form_legend');
    184185        }
    185186        return $flux;
  • plugins_spip/diogene_complements/diogene_geo/trunk/paquet.xml

    r6564 r6920  
    22        prefix="diogene_geo"
    33        categorie="edition"
    4         version="1.0.0"
     4        version="1.1.0"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.0.99]"
     
    2323        <pipeline nom="diogene_verifier" inclure="diogene_geo_pipelines.php" />
    2424        <pipeline nom="diogene_charger" inclure="diogene_geo_pipelines.php" />
    25         <pipeline nom="diogene_champs_sup" inclure="diogene_geo_pipelines.php" />
     25        <pipeline nom="diogene_objets" inclure="diogene_geo_pipelines.php" />
    2626        <pipeline nom="diogene_champs_texte" inclure="diogene_geo_pipelines.php" />
    2727        <pipeline nom="diogene_champs_pre_edition" inclure="diogene_geo_pipelines.php" />
Note: See TracChangeset for help on using the changeset viewer.