[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / medias / puce_statut / document.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')) {
14 return;
15 }
16
17
18 /**
19 * Afficher la puce statut d'un document :
20 * en fait juste une icone independante du statut
21 *
22 * @param int $id
23 * @param string $statut
24 * @param int $id_rubrique
25 * @param string $type
26 * @param string $ajax
27 * @return string
28 */
29 function puce_statut_document_dist($id, $statut, $id_rubrique, $type, $ajax = '') {
30 return "<img src='" . chemin_image('attachment-16.png') . "' width='16' height='16' alt='' />";
31 }