[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / zen-garden / prive / zengarden_theme_fonctions.php
diff --git a/www/plugins/auto/zen-garden/prive/zengarden_theme_fonctions.php b/www/plugins/auto/zen-garden/prive/zengarden_theme_fonctions.php
new file mode 100644 (file)
index 0000000..34a5bff
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Plugin Zen-Garden pour Spip 2.0
+ * Licence GPL (c) 2006-2009 Cedric Morin
+ *
+ */
+
+if (!defined("_ECRIRE_INC_VERSION")) return;
+
+include_spip('inc/zengarden');
+include_spip('inc/headers');
+/**
+ * Lister les thèmes
+ * 
+ * @param bool $tous
+ * @return array
+ */
+function       zengarden_liste_themes($tous){
+       return zengarden_charge_themes(_DIR_THEMES,$tous);
+}
+
+?>
\ No newline at end of file