Ignore:
Timestamp:
10/27/10 14:03:55 (10 years ago)
Author:
kent1
Message:

On suit diogene et les modifs de pipelines

Location:
plugins_spip/diogene_complements/diogene_licence
Files:
2 edited

Legend:

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

    r3339 r4241  
    11<?php
    22
    3 function diogene_licence_diogene_ajouter_media($flux){
     3function diogene_licence_diogene_ajouter_saisies($flux){
    44        if(is_array(unserialize($flux['args']['champs_ajoutes'])) && in_array('licence',unserialize($flux['args']['champs_ajoutes']))){
    55                include_spip('inc/licence');
     
    1010}
    1111
    12 function diogene_licence_diogene_ajout_media_post_charger($flux){
    13         return $flux;
    14 }
    15 
    16 function diogene_licence_diogene_ajout_media_post_verifier($flux){
     12function diogene_licence_diogene_verifier($flux){
    1713        $id_article = _request('id_article');
    1814        $erreurs = &$flux['args']['erreurs'];
     
    2723}
    2824
    29 function diogene_licence_diogene_ajout_media_post_traiter($flux){
     25function diogene_licence_diogene_traiter($flux){
    3026        $id_objet = $flux['args']['id_objet'];
    3127        if(intval($id_objet) && ($licence = _request('id_licence'))){
  • plugins_spip/diogene_complements/diogene_licence/plugin.xml

    r4149 r4241  
    2424        </pipeline>
    2525        <pipeline>
    26                 <nom>diogene_ajouter_media</nom>
     26                <nom>diogene_ajouter_saisies</nom>
    2727                <inclure>diogene_licence_pipelines.php</inclure>
    2828        </pipeline>
    2929        <pipeline>
    30                 <nom>diogene_ajout_media_post_charger</nom>
     30                <nom>diogene_verifier</nom>
    3131                <inclure>diogene_licence_pipelines.php</inclure>
    3232        </pipeline>
    3333        <pipeline>
    34                 <nom>diogene_ajout_media_post_verifier</nom>
    35                 <inclure>diogene_licence_pipelines.php</inclure>
    36         </pipeline>
    37         <pipeline>
    38                 <nom>diogene_ajout_media_post_traiter</nom>
     34                <nom>diogene_traiter</nom>
    3935                <inclure>diogene_licence_pipelines.php</inclure>
    4036        </pipeline>
Note: See TracChangeset for help on using the changeset viewer.