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

On suit le changement de pipeline cf r6919

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

Legend:

Unmodified
Added
Removed
  • plugins_spip/diogene_complements/diogene_licence/trunk/diogene_licence_pipelines.php

    r6084 r6922  
    5252
    5353/**
    54  * Insertion dans le pipeline diogene_champs_sup
     54 * Insertion dans le pipeline diogene_objets
    5555 * On ajoute la possibilité de prise en compte des licences sur les articles
    5656 *
     
    5858 * @return array $flux Le tableau des champs complétés
    5959 */
    60 function diogene_licence_diogene_champs_sup($flux){
    61         $flux['article']['licence'] = $flux['page']['licence'] = _T('diogene_licence:form_legend');
     60function diogene_licence_diogene_objets($flux){
     61        $flux['article']['champs_sup']['licence'] = _T('diogene_licence:form_legend');
     62        if(defined('_DIR_PLUGIN_PAGES'))
     63                $flux['page']['champs_sup']['licence'] = _T('diogene_licence:form_legend');
    6264        return $flux;
    6365}
  • plugins_spip/diogene_complements/diogene_licence/trunk/paquet.xml

    r6555 r6922  
    22        prefix="diogene_licence"
    33        categorie="edition"
    4         version="1.0.0"
     4        version="1.1.0"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.0.99]"
     
    1717        <pipeline nom="diogene_verifier" inclure="diogene_licence_pipelines.php" />
    1818        <pipeline nom="diogene_traiter" inclure="diogene_licence_pipelines.php" />
    19         <pipeline nom="diogene_champs_sup" inclure="diogene_licence_pipelines.php" />
     19        <pipeline nom="diogene_objets" inclure="diogene_licence_pipelines.php" />
    2020        <pipeline nom="diogene_champs_texte" inclure="diogene_licence_pipelines.php" />
    2121        <pipeline nom="diogene_champs_pre_edition" inclure="diogene_licence_pipelines.php" />
Note: See TracChangeset for help on using the changeset viewer.