From 5d1834f282f934257e98dffb34797bef9f632d3f Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 11 Feb 2007 20:49:44 +0000 Subject: [PATCH] =?UTF-8?q?D=E9but=20ajout=20de=20l'autocompl=E9tion=20aja?= =?UTF-8?q?x=20sur=20la=20liste=20d=E9roulante=20des=20pays=20Ajout=20fonc?= =?UTF-8?q?tion=20pour=20afficher=20les=20images=20gif?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/html.form.class.php | 3 ++- htdocs/lib/functions.inc.php | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 71cfba5f74f..e58eabd5db8 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -327,11 +327,12 @@ class Form $pays_id = $obj->rowid?$obj->rowid:''; print '
'; print ''; + print ''; print ''; print '
'; print '
'; print ''; } else diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 796a2fe4bca..17e2df98e0b 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -1088,6 +1088,18 @@ function img_allow($allow) } } +/** + \brief Affiche image gif (fonction générique) + \param alt Texte sur le alt de l'image + \param picto Nom de l'image a afficher + \return string Retourne tag img +*/ +function img_gif($alt, $picto, $options='') +{ + global $conf,$langs; + return ''.$alt.''; +} + /** \brief Affiche info admin