Changeset 90554 in spip-zone
- Timestamp:
- Jun 27, 2015, 9:54:21 AM (6 years ago)
- Location:
- _plugins_/reservation_evenement/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/reservation_evenement/trunk/base/reservation_evenement.php
r90167 r90554 190 190 ) 191 191 )), 192 'texte_changer_statut' => 'reservations :texte_changer_statut_reservations_detail',192 'texte_changer_statut' => 'reservations_detail:texte_changer_statut_reservations_detail', 193 193 ); 194 194 //adaptation de la déclaration si le plugin prix_objets est installé -
_plugins_/reservation_evenement/trunk/reservation_evenement_pipelines.php
r90553 r90554 59 59 'titre' => _T('reservation:info_reservations_auteur') 60 60 ), array('ajax' => true)); 61 62 61 } 63 62 return $flux; … … 74 73 $flux['data'] .= $texte; 75 74 } 76 77 75 return $flux; 78 76 } … … 87 85 'reservation_vendeur' => array('duree' => '180') 88 86 )); 89 90 87 return $flux; 91 88 } … … 125 122 $action_cloture = sql_getfetsel('action_cloture', 'spip_articles', 'id_article=' . $contexte['id_parent']); 126 123 } 127 128 124 if ($action_cloture) 129 125 $flux['data']['action_cloture'] = $action_cloture; 130 126 } 131 132 127 return $flux; 133 128 } … … 143 138 sql_updateq('spip_' . $objet . 's', array('action_cloture' => _request('action_cloture')), 'id_' . $objet . '=' . $flux['data']['id_' . $objet]); 144 139 } 145 146 140 return $flux; 147 141 } … … 203 197 3 => _T('reservation:evenement_cloture') 204 198 ); 205 206 199 $action_cloture = sql_getfetsel('action_cloture', 'spip_' . $type . 's', 'id_' . $type . '=' . $type = $flux['args']['id_objet']); 207 200 if ($action_cloture != 0) … … 210 203 $flux['data'] .= "\n" . $action_cloture; 211 204 } 212 213 } 214 return $flux; 215 } 205 } 206 return $flux; 207 }
Note: See TracChangeset
for help on using the changeset viewer.