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

On suit le changement de pipeline cf r6919

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

Legend:

Unmodified
Added
Removed
  • plugins_spip/diogene_complements/diogene_spipicious/trunk/diogene_spipicious_pipelines.php

    r6797 r6925  
    109109
    110110/**
    111  * Insertion dans le pipeline diogene_champs_sup (Plugin Diogene)
     111 * Insertion dans le pipeline diogene_objets (Plugin Diogene)
    112112 * On ajoute la possibilité de prise en compte des tags sur :
    113113 * -* Les articles
     
    118118 * @return array $flux Le tableau de champs complété
    119119 */
    120 function diogene_spipicious_diogene_champs_sup($flux){
    121         $flux['article']['spipicious'] = $flux['page']['spipicious'] = _T('diogene_spipicious:tags_spipicious');
     120function diogene_spipicious_diogene_objets($flux){
     121        if(defined('_DIR_PLUGIN_SPIPICIOUS')){
     122                $flux['article']['champs_sup']['spipicious'] = _T('diogene_spipicious:tags_spipicious');
     123                if(defined('_DIR_PLUGIN_PAGES')){
     124                        $flux['page']['champs_sup']['spipicious'] = _T('diogene_spipicious:tags_spipicious');
     125                }
     126        }
    122127        return $flux;
    123128}
  • plugins_spip/diogene_complements/diogene_spipicious/trunk/paquet.xml

    r6559 r6925  
    22        prefix="diogene_spipicious"
    33        categorie="edition"
    4         version="1.0.0"
     4        version="1.1.0"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.0.99]"
     
    2020        <pipeline nom="diogene_traiter" inclure="diogene_spipicious_pipelines.php" />
    2121        <pipeline nom="diogene_avant_formulaire" inclure="diogene_spipicious_pipelines.php" />
    22         <pipeline nom="diogene_champs_sup" inclure="diogene_spipicious_pipelines.php" />
     22        <pipeline nom="diogene_objets" inclure="diogene_spipicious_pipelines.php" />
    2323
    2424        <necessite nom="diogene" compatibilite="[1.0.0;[" />
Note: See TracChangeset for help on using the changeset viewer.