[SPIP] ~v3.0.20-->v3.0.25
[lhc/web/clavette_www.git] / www / plugins-dist / mots / puce_statut / mot.php
1 <?php
2
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
5 * *
6 * Copyright (c) 2001-2016 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
8 * *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
12
13 if (!defined('_ECRIRE_INC_VERSION')) return;
14
15
16 /**
17 * Afficher la puce statut d'un mot :
18 * en fait juste une icone independante du statut
19 *
20 * @param int $id
21 * @param string $statut
22 * @param int $id_rubrique
23 * @param string $type
24 * @param string $ajax
25 * @return string
26 */
27 // http://code.spip.net/@puce_statut_mot_dist
28 function puce_statut_mot_dist($id, $statut, $id_groupe, $type, $ajax='', $menu_rapide=_ACTIVER_PUCE_RAPIDE) {
29 return "<img src='" . chemin_image("mot-16.png") . "' width='16' height='16' alt='' />";
30 }