Changeset 77100 in spip-zone


Ignore:
Timestamp:
Oct 9, 2013, 5:39:41 PM (6 years ago)
Author:
kent1@…
Message:

Si on a le plugin Collections, on réorganise les collections à la validation du formulaire d'édition multiple

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/emballe_medias/emballe_medias/trunk/formulaires/media_edition_lot.php

    r73173 r77100  
    8989function formulaires_media_edition_lot_traiter_dist(){
    9090        $res = array('editable'=> true);
    91         if(_request('change_statut_tout') || _request('change_statut_publie') || _request('change_statut_prepa') || _request('change_statut_prop')){
     91        if(_request('change_statut_tout') || _request('change_statut_publie') || _request('change_statut_prepa') || _request('change_statut_prop'))
    9292                return $res;
    93         }
    9493
    9594        $medias_a_traiter = _request('medias');
     
    121120                $res_id = formulaires_editer_objet_traiter('article',$id_article,$id_rubrique,$lier_trad,$retour,$config_fonc,$row,$hidden);
    122121        }
     122       
     123        if(defined('_DIR_PLUGIN_COLLECTIONS') && _request('id_collection')){
     124                $organiser = charger_fonction('collection_organiser_rangs','inc');
     125                $organiser(_request('id_collection'));
     126        }
     127               
    123128        $res['message_ok'] = singulier_ou_pluriel(count($medias_a_traiter),'emballe_medias:message_medias_maj_un','emballe_medias:message_medias_maj_nb');
    124129        if($statut != _request('statuts_medias')){
Note: See TracChangeset for help on using the changeset viewer.