From 84f8544210fbf445675208fc6c8c860cf69414a2 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 7 Mar 2023 16:44:11 +0100 Subject: [PATCH] icone alt --- core/class/template.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/class/template.class.php b/core/class/template.class.php index 82c3b37f..879eb6cc 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -471,7 +471,8 @@ class template // Traduction de l'aide $attributes['help'] = helper::translate($attributes['help']); // Contenu de l'icĂ´ne - $item = $attributes['href'] ? '' : ''; + $alt = $attributes['help'] ? $attributes['help'] : $ico; + $item = $attributes['href'] ? '' : ''; $item .= ''; $item .= ($attributes['href']) ? '' : ''; return $item;