Ignore:
Timestamp:
10/18/11 15:57:31 (8 years ago)
Author:
kent1
Message:

les cartes ne sont que sur les articles / pages uniques et emballe_medias

File:
1 edited

Legend:

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

    r6078 r6085  
    205205 */
    206206function diogene_geo_diogene_champs_texte($flux){
    207         $flux['data'] .= recuperer_fond('formulaires/diogene_geo_cacher',$flux['args']);
     207        if(in_array($flux['args']['objet'],array('article','page','emballe_media'))){
     208                $flux['data'] .= recuperer_fond('formulaires/diogene_geo_cacher',$flux['args']);
     209        }
    208210        return $flux;
    209211}
Note: See TracChangeset for help on using the changeset viewer.