From caea0a55c4881223fc9a0dc08c1dcac6d7ee5d15 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 9 Dec 2004 09:36:32 +0000 Subject: [PATCH] Ajout fonction affichage dossier --- htdocs/lib/functions.inc.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 89a7368037c..1d3899ade61 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -344,7 +344,20 @@ function img_file($alt = "default") } /*! - \brief Affiche logo nouveau fichier + \brief Affiche logo dossier +*/ +function img_folder($alt = "default") +{ + if ($alt=="default") { + global $langs; + $alt=$langs->trans("Dossier"); + } + return ''.$alt.''; +} + +/*! + \brief Affiche logo nouveau fichier + */ function img_file_new($alt = "default") {