X-Git-Url: http://olivier.miskin.fr/git/?a=blobdiff_plain;f=base%2Fsouscription.php;h=4429e1932604f7b6ecc9a5121f267de49bcfec1c;hb=c92914b1bfd980452d3ad30dc60afb9fb65b8f46;hp=7c3d4cc188c844a263ac3814a32ec29108418bc2;hpb=d6154537b770689ed682d1e6d7d94e7b3f4b66eb;p=spip_souscriptions.git diff --git a/base/souscription.php b/base/souscription.php index 7c3d4cc..4429e19 100644 --- a/base/souscription.php +++ b/base/souscription.php @@ -82,6 +82,7 @@ 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 0", "titre" => "text NOT NULL DEFAULT ''", "texte" => "longtext NOT NULL DEFAULT ''", "statut" => "varchar(255) NOT NULL DEFAULT 0", @@ -93,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(), );