X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fplugins%2Fformidable_1_0%2Fbase%2Fformidable_tables.php;fp=www%2Fplugins%2Fformidable_1_0%2Fbase%2Fformidable_tables.php;h=c01c6b0e0968ea6cda642766086cfad595b6ddc6;hb=94bf708c1d33740fb69957c922eb2bccacc2fa63;hp=4d5f43324c5827c16269dcfd27c577f12d96d3fe;hpb=d8b7931e7a1ecffac4ce5cabaf9055d49df5a1f5;p=lhc%2Fweb%2Fwww.git diff --git a/www/plugins/formidable_1_0/base/formidable_tables.php b/www/plugins/formidable_1_0/base/formidable_tables.php index 4d5f4332..c01c6b0e 100644 --- a/www/plugins/formidable_1_0/base/formidable_tables.php +++ b/www/plugins/formidable_1_0/base/formidable_tables.php @@ -45,8 +45,9 @@ function formidable_declarer_tables_objets_sql($tables) { $tables['spip_formulaires'] = array( 'type'=>'formulaire', 'titre' => "titre, '' AS lang", - 'date' => '', + 'date' => 'date_creation', 'principale' => 'oui', + 'texte_modifier' => 'formidable:editer_modifier_formulaire', 'field' => array( "id_formulaire" => "bigint(21) NOT NULL", @@ -54,10 +55,11 @@ function formidable_declarer_tables_objets_sql($tables) { "titre" => "text NOT NULL default ''", "descriptif" => "text", "message_retour" => "text NOT NULL default ''", - "saisies" => "text NOT NULL default ''", + "saisies" => "longtext NOT NULL default ''", "traitements" => "text NOT NULL default ''", "public" => "enum('non', 'oui') DEFAULT 'non' NOT NULL", "statut" => "varchar(10) NOT NULL default ''", + "date_creation" => "datetime NOT NULL DEFAULT '0000-00-00 00:00:00'", "maj" => "timestamp", "apres" => "varchar(12) NOT NULL default ''", "url_redirect" => "varchar(255)"