X-Git-Url: http://olivier.miskin.fr/git/?a=blobdiff_plain;f=base%2Fsouscription.php;h=b8ac65df457841bc512f8c50766f4f796fc4a325;hb=d03ce648bb3089015104d8439e5f51204fbfc4d3;hp=d0fc1dbc981ebc877e9e8d774e6fab75f23497c9;hpb=eb08f3fa2fef5aba3adc1c86ce64af6264e920ea;p=spip_souscriptions.git diff --git a/base/souscription.php b/base/souscription.php index d0fc1db..b8ac65d 100644 --- a/base/souscription.php +++ b/base/souscription.php @@ -82,10 +82,10 @@ function souscription_declarer_tables_objets_sql($tables) { "objectif" => "int(11) NOT NULL DEFAULT 0", "objectif_initial" => "int(11) NOT NULL DEFAULT 0", "type_objectif" => "varchar(255) NOT NULL DEFAULT 0", + "objectif_limiter" => "varchar(3) NOT NULL DEFAULT ''", "titre" => "text NOT NULL DEFAULT ''", "texte" => "longtext NOT NULL DEFAULT ''", "statut" => "varchar(255) NOT NULL DEFAULT 0", - "limite" => "bigint(21) NOT NULL DEFAULT 0", "date" => "datetime NOT NULL DEFAULT '0000-00-00 00:00:00'", "maj" => "TIMESTAMP" ), @@ -94,8 +94,8 @@ function souscription_declarer_tables_objets_sql($tables) { ), 'titre' => "titre AS titre, '' AS lang", 'date' => "date", - 'champs_editables' => array('objectif', 'titre', 'texte', 'objectif_initial', 'type_objectif'), - 'champs_versionnes' => array('objectif', 'titre', 'texte', 'objectif_initial', 'type_objectif'), + 'champs_editables' => array('objectif', 'titre', 'texte', 'objectif_initial', 'type_objectif', 'objectif_limiter'), + 'champs_versionnes' => array('objectif', 'titre', 'texte', 'objectif_initial', 'type_objectif', 'objectif_limiter'), 'rechercher_champs' => array(), );