Skip to content
Extraits de code Groupes Projets
Valider af40d60f rédigé par cedric@yterium.com's avatar cedric@yterium.com
Parcourir les fichiers

fonctions puce_statut pour les documents et les mots (externalisation des...

fonctions puce_statut pour les documents et les mots (externalisation des fonctions existantes dans le core)
parent e41cbe4f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -111,6 +111,7 @@ prive/themes/spip/images/tourner-gauche-12.png -text ...@@ -111,6 +111,7 @@ prive/themes/spip/images/tourner-gauche-12.png -text
prive/themes/spip/images/vu-16-10.png -text prive/themes/spip/images/vu-16-10.png -text
prive/themes/spip/images/vu-16.png -text prive/themes/spip/images/vu-16.png -text
prive/themes/spip/images/vu-32.png -text prive/themes/spip/images/vu-32.png -text
puce_statut/document.php -text
squelettes/contenu/document.html -text squelettes/contenu/document.html -text
squelettes/document.html -text squelettes/document.html -text
squelettes/head/document.html -text squelettes/head/document.html -text
......
<?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2011 *
* 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 document :
* 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
*/
function puce_statut_document_dist($id, $statut, $id_rubrique, $type, $ajax='') {
return "<img src='" . chemin_image("attachment-16.png") . "' width='16' height='16' alt='' />";
}
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter