[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / porte_plume / barre_outils / vide.php
diff --git a/www/plugins-dist/porte_plume/barre_outils/vide.php b/www/plugins-dist/porte_plume/barre_outils/vide.php
new file mode 100644 (file)
index 0000000..a8584a9
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Déclaration de la barre d'outil vide de SPIP
+ *
+ * @plugin Porte Plume pour SPIP
+ * @license GPL
+ * @package SPIP\PortePlume\BarreOutils
+ */
+if (!defined("_ECRIRE_INC_VERSION")) {
+       return;
+}
+
+
+/**
+ * Définition de la barre 'vide' pour markitup
+ *
+ * @return Barre_outils La barre d'outil
+ */
+function barre_outils_vide() {
+       $set = new Barre_outils(array(
+               'nameSpace' => 'vide',
+               'markupSet' => array(),
+       ));
+       $set->cacherTout();
+       return $set;
+}
+