[SPIP] +version 3.0.7
[ptitvelo/web/www.git] / www / plugins-dist / mots / puce_statut / mot.php
diff --git a/www/plugins-dist/mots/puce_statut/mot.php b/www/plugins-dist/mots/puce_statut/mot.php
new file mode 100644 (file)
index 0000000..f9f39a9
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+
+/***************************************************************************\
+ *  SPIP, Systeme de publication pour l'internet                           *
+ *                                                                         *
+ *  Copyright (c) 2001-2013                                                *
+ *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
+ *                                                                         *
+ *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
+ *  Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne.   *
+\***************************************************************************/
+
+if (!defined('_ECRIRE_INC_VERSION')) return;
+
+
+/**
+ * Afficher la puce statut d'un mot :
+ * en fait juste une icone independante du statut
+ *
+ * @param int $id
+ * @param string $statut
+ * @param int $id_rubrique
+ * @param string $type
+ * @param string $ajax
+ * @return string
+ */
+// http://doc.spip.org/@puce_statut_mot_dist
+function puce_statut_mot_dist($id, $statut, $id_groupe, $type, $ajax='', $menu_rapide=_ACTIVER_PUCE_RAPIDE) {
+       return "<img src='" . chemin_image("mot-16.png") . "' width='16' height='16' alt=''  />";
+}