Changeset 103635 in spip-zone for _plugins_/albums
- Timestamp:
- Mar 28, 2017, 8:04:37 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/albums/trunk/formulaires/ajouter_album.php
r103634 r103635 164 164 include_spip('inc/joindre_document'); 165 165 $id_temporaire = 0-$GLOBALS['visiteur_session']['id_auteur']; 166 $traiter_joindre_document = charger_fonction('traiter', 'formulaires/joindre_document'); 167 $res_joindre_document = $traiter_joindre_document('new', $id_temporaire, 'album', 'document'); 168 $res = array_merge($res, $res_joindre_document); 166 $verifier_joindre_document = charger_fonction('verifier', 'formulaires/joindre_document'); 167 $res_verifier_joindre_document = $verifier_joindre_document('new', $id_temporaire, 'album', 'document'); 168 if (count($res_verifier_joindre_document) == 0) { 169 $traiter_joindre_document = charger_fonction('traiter', 'formulaires/joindre_document'); 170 $res_joindre_document = $traiter_joindre_document('new', $id_temporaire, 'album', 'document'); 171 $res = array_merge($res, $res_joindre_document); 172 } 169 173 // pas besoin du js ajouté dans le message de retour 170 174 if (isset($res['message_ok']) and $res['message_ok']) {
Note: See TracChangeset
for help on using the changeset viewer.