[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / tradrub / base / tradrub.php
1 <?php
2 /**
3 * Plugin tradrub
4 * Licence GPL (c) 2008-2010 Stephane Laurent (Bill), Matthieu Marcillaud
5 *
6 */
7
8 if (!defined("_ECRIRE_INC_VERSION")) return;
9
10 /**
11 * Ajouter des champs a la table rubriques
12 * @param array $tables_principales
13 * @return array
14 */
15 function tradrub_declarer_tables_principales($tables_principales){
16 // Extension de la table rubriques
17 $tables_principales['spip_rubriques']['field']['id_trad'] = "bigint(21) DEFAULT '0' NOT NULL";
18
19 return $tables_principales;
20 }
21
22 ?>