Changeset 32468 in spip-zone
- Timestamp:
- Oct 29, 2009, 2:56:21 PM (11 years ago)
- Location:
- _core_/plugins/porte_plume
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/porte_plume/plugin.xml
r32321 r32468 3 3 <auteur>Matthieu Marcillaud</auteur> 4 4 <licence>GNU/GPL</licence> 5 <version>1.5. 3</version>5 <version>1.5.4</version> 6 6 <description> 7 7 "Porte plume" est une barre d'outil géniale pour SPIP qui -
_core_/plugins/porte_plume/porte_plume_pipelines.php
r31353 r32468 7 7 define('PORTE_PLUME_PUBLIC', true); 8 8 9 // autoriser le porte plume dans le public ? 10 function autoriser_porte_plume_afficher_public_dist($faire, $type, $id, $qui, $opt) { 11 return PORTE_PLUME_PUBLIC; 12 // n'autoriser qu'aux identifies : 13 # return $qui['id_auteur'] ? PORTE_PLUME_PUBLIC : false; 14 } 15 9 16 function porte_plume_insert_head_public($flux){ 10 if (PORTE_PLUME_PUBLIC) { 17 include_spip('inc/autoriser'); 18 if (autoriser('afficher_public', 'porte_plume')) { 11 19 $flux = porte_plume_inserer_head($flux, $GLOBALS['spip_lang']); 12 20 }
Note: See TracChangeset
for help on using the changeset viewer.