'podcast', 'principale' => 'oui', 'field'=> array( 'id_podcast' => 'bigint(21) NOT NULL', 'id_article' => 'bigint(21) NOT NULL DEFAULT 0', 'code' => 'varchar(25) NOT NULL DEFAULT ""', 'fichier' => 'tinytext NOT NULL DEFAULT ""', 'duree' => 'varchar(25) NOT NULL DEFAULT ""', 'maj' => 'TIMESTAMP NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP' ), 'key' => array( 'PRIMARY KEY' => 'id_podcast', 'KEY id_article' => 'id_article', ), 'titre' => 'code AS titre, "" AS lang', #'date' => '', 'champs_editables' => array('code', 'fichier', 'duree', 'id_article'), 'champs_versionnes' => array('code', 'fichier', 'duree', 'id_article'), 'rechercher_champs' => array(), 'tables_jointures' => array(), ); $tables['spip_chapitres'] = array( 'type' => 'chapitre', 'principale' => 'oui', 'field'=> array( 'id_chapitre' => 'bigint(21) NOT NULL', 'id_podcast' => 'bigint(21) NOT NULL DEFAULT 0', 'titre' => 'tinytext NOT NULL DEFAULT ""', 'nom_identifiant' => 'tinytext NOT NULL DEFAULT ""', 'sujet_principal' => 'int(6) NOT NULL DEFAULT 0', 'debut' => 'varchar(25) NOT NULL DEFAULT ""', 'fin' => 'varchar(25) NOT NULL DEFAULT ""', 'maj' => 'TIMESTAMP NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP' ), 'key' => array( 'PRIMARY KEY' => 'id_chapitre', 'KEY id_podcast' => 'id_podcast', ), 'titre' => 'titre AS titre, "" AS lang', #'date' => '', 'champs_editables' => array('titre', 'nom_identifiant', 'sujet_principal', 'debut', 'fin', 'id_podcast'), 'champs_versionnes' => array('titre', 'nom_identifiant', 'sujet_principal', 'debut', 'fin', 'id_podcast'), 'rechercher_champs' => array("titre" => 5), 'tables_jointures' => array(), ); return $tables; }