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

Last change on this file since 65963 was 65963, checked in by sblanc@…, 9 years ago
File size: 544 bytes
Line 
1<?php
2/*
3 * forms
4 * Gestion de formulaires editables dynamiques
5 *
6 * Auteurs :
7 * Sylvain BLANC
8 * Loic LE MAO
9 * Antoine Pitrou
10 * Cedric Morin
11 * Renato
12 * © 2005,2006 - Distribue sous licence GNU/GPL
13 *
14 */
15
16include_spip('inc/forms_tables_affichage');
17
18function exec_donnees_edit(){
19        $type_form = 'table';
20        $id_form = _request('id_form');
21        $res = spip_query("SELECT type_form FROM spip_forms WHERE id_form="._q($id_form));
22        if ($row = spip_fetch_array($res))
23                $type_form = $row['type_form'];
24        echo affichage_donnee_edit($type_form);
25}
26
27?>
Note: See TracBrowser for help on using the repository browser.