4 if (!defined("_ECRIRE_INC_VERSION")) return;
6 function action_exporter_formulaire_dist(){
7 include_spip('inc/formidable');
9 $securiser_action = charger_fonction('securiser_action', 'inc');
10 $arg = $securiser_action();
13 list($id_formulaire, $type_export) = preg_split('/[\W]/', $arg);
15 if ($id_formulaire > 0
17 and $types_echange = echanges_formulaire_lister_disponibles()
18 and $exporter = $types_echange['exporter'][$type_export]
20 $exporter($id_formulaire);