From 8eae8b83307e196bc486b98f041fe6c7ab0f5f39 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou <pitrou@free.fr> Date: Thu, 25 Sep 2003 17:20:04 +0000 Subject: [PATCH] =?UTF-8?q?bug=20d=C3=A9connecter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/inc_presentation.php3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecrire/inc_presentation.php3 b/ecrire/inc_presentation.php3 index a07b25a87c..7554c8f77a 100644 --- a/ecrire/inc_presentation.php3 +++ b/ecrire/inc_presentation.php3 @@ -1214,7 +1214,7 @@ function icone_bandeau_secondaire($texte, $lien, $fond, $rubrique_icone = "vide" else $largeur = 70; $alt = " alt=\" \""; } - if (strlen($aide) > 0) $largeur += 50; + if ($aide) $largeur += 50; if ($largeur) $width = "width='$largeur'"; if (!$menu_accesskey) $menu_accesskey = 1; @@ -1228,7 +1228,7 @@ function icone_bandeau_secondaire($texte, $lien, $fond, $rubrique_icone = "vide" } if ($spip_display == 3) $accesskey_icone = $accesskey; - if (!eregi("^javascript:",$lien)) { + if (!eregi("^javascript:",$lien) && !$aide) { $onClick = "onClick=\"document.location='$lien'\""; } -- GitLab