[SPIP] ~2.1.12 -->2.1.25
[velocampus/web/www.git] / www / ecrire / inc / puce_statut.php
index 9bcb280..4d74c5a 100644 (file)
@@ -3,7 +3,7 @@
 /***************************************************************************\
  *  SPIP, Systeme de publication pour l'internet                           *
  *                                                                         *
- *  Copyright (c) 2001-2011                                                *
+ *  Copyright (c) 2001-2014                                                *
  *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
  *                                                                         *
  *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
@@ -26,6 +26,10 @@ function puce_statut_document_dist($id, $statut, $id_rubrique, $type, $ajax='')
        return "<img src='" . chemin_image("attachment.gif") . "' alt=''  />";
 }
 
+function puce_statut_signature_dist($id, $statut, $id_rubrique, $type, $ajax='') {
+       return "<img src='" . chemin_image("visit-12.gif") . "' alt=''  />";
+}
+
 // http://doc.spip.org/@puce_statut_auteur_dist
 // Hack de compatibilite: les appels directs ont un  $type != 'auteur'
 // si l'auteur ne peut pas se connecter
@@ -233,6 +237,7 @@ function puce_statut_breve_dist($id, $statut, $id_rubrique, $type, $ajax='') {
 
 // http://doc.spip.org/@puce_statut_site_dist
 function puce_statut_site_dist($id, $statut, $id_rubrique, $type, $ajax=''){
+  global $lang_objet;
        static $coord = array('publie' => 1,
                              'prop' => 0,
                              'refuse' => 2,