source: spip-zone/_plugins_/forms/forms_et_tables_2_5/exec/forms_lier_donnees.php @ 65963

Last change on this file since 65963 was 65963, checked in by sblanc@…, 9 years ago
File size: 489 bytes
Line 
1<?php
2/*
3 * forms
4 * Gestion de formulaires editables dynamiques
5 *
6 * Auteurs :
7 * Antoine Pitrou
8 * Cedric Morin
9 * Renato
10 * © 2005,2006 - Distribue sous licence GNU/GPL
11 *
12 */
13
14function exec_forms_lier_donnees(){
15        $type = _request('type');
16        if (!preg_match(',[\w]+,',$type))
17                $type = 'article';
18        $id = _request("id_$type");
19        $forms_lier_donnees = charger_fonction('forms_lier_donnees','inc');
20        $out = $forms_lier_donnees($type,$id, _request('script'), true);
21        ajax_retour($out);
22}
23
24?>
Note: See TracBrowser for help on using the repository browser.