Changeset 48815 in spip-zone for _plugins_/contacts_et_organisations/contacts_pipelines.php
- Timestamp:
- Jun 15, 2011, 3:20:10 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/contacts_et_organisations/contacts_pipelines.php
r47038 r48815 9 9 * Affichage du formulaire de choix Contact/Organisation 10 10 * dans la colonne de vue d'un auteur 11 * et 12 * Affichage du formulaire de recherche et de sélection d'Organisations 13 * dans la colonne de vue d'une rubrique 11 14 **/ 12 15 function contacts_affiche_gauche($flux){ 16 13 17 if ($flux['args']['exec'] == 'auteur_infos'){ 14 18 $flux['data'] .= recuperer_fond('prive/boite/selecteur_contacts_organisations', array( … … 16 20 ), array('ajax'=>true)); 17 21 } 22 23 if ($flux['args']['exec'] == 'naviguer' && $flux['args']['id_rubrique']){ 24 $flux['data'] .= recuperer_fond('prive/boite/selecteur_organisations_de_rubrique', array( 25 'id_rubrique'=>$flux['args']['id_rubrique'] 26 )); 27 } 28 18 29 return $flux; 19 30 } 20 21 22 23 31 24 32 … … 27 35 * Insertion dans la vue des auteurs 28 36 * des informations relatives aux contacts et organisations 37 * et 38 * Insertion dans la vue des rubriques 39 * des informations relatives aux organisations 29 40 */ 30 41 function contacts_affiche_milieu($flux){ … … 36 47 $flux['data'] = $data . $flux['data']; 37 48 } 49 50 if ($flux['args']['exec'] == 'naviguer' && $flux['args']['id_rubrique']){ 51 $flux['data'] .= recuperer_fond('prive/liste/organisations_liees_rubrique', array( 52 'id_rubrique' => $flux['args']['id_rubrique'], 53 'titre' => _T('contacts:info_organisations_appartenance') 54 ), array('ajax'=>true)); 55 } 38 56 return $flux; 39 57 } … … 63 81 /** 64 82 * Autoriser les champs extras sur les objets 65 * Contac s et Organisations83 * Contacts et Organisations 66 84 **/ 67 85 function contacts_objets_extensibles($objets){
Note: See TracChangeset
for help on using the changeset viewer.