[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / tradrub / base / tradrub.php
diff --git a/www/plugins/auto/tradrub/base/tradrub.php b/www/plugins/auto/tradrub/base/tradrub.php
new file mode 100644 (file)
index 0000000..4379101
--- /dev/null
@@ -0,0 +1,22 @@
+<?php\r
+/**\r
+ * Plugin tradrub\r
+ * Licence GPL (c) 2008-2010 Stephane Laurent (Bill), Matthieu Marcillaud\r
+ * \r
+ */\r
+\r
+if (!defined("_ECRIRE_INC_VERSION")) return;\r
+\r
+/**\r
+ * Ajouter des champs a la table rubriques\r
+ * @param array $tables_principales\r
+ * @return array\r
+ */\r
+function tradrub_declarer_tables_principales($tables_principales){\r
+       // Extension de la table rubriques\r
+       $tables_principales['spip_rubriques']['field']['id_trad'] = "bigint(21) DEFAULT '0' NOT NULL";\r
+               \r
+       return $tables_principales;\r
+}\r
+\r
+?>\r