From a5adea886739d61a850599a3e1bd69ea7bea1800 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Thu, 3 Feb 2005 22:41:37 +0000
Subject: [PATCH] =?UTF-8?q?bug=20du=20surlignement=20var=5Frecherche=20(le?=
 =?UTF-8?q?s=20boutons=20admins=20affichent=20la=20$page,=20celle-ci=20ne?=
 =?UTF-8?q?=20peut=20donc=20plus=20etre=20ensuite=20surlign=C3=A9e)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 inc-public.php3 | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/inc-public.php3 b/inc-public.php3
index 3eb5808490..5c0081f6ee 100644
--- a/inc-public.php3
+++ b/inc-public.php3
@@ -57,12 +57,6 @@ if (defined("_INC_PUBLIC")) {
 		}
 	}
 
-	// Inserer au besoin les boutons admins
-	if ($affiche_boutons_admin) {
-		include_local("inc-admin.php3");
-		$page = affiche_boutons_admin($page);
-	}
-
 	// Passer la main au debuggueur le cas echeant 
 	if ($var_mode == 'debug') {
 		include_ecrire("inc_debug_sql.php3");
@@ -77,6 +71,12 @@ if (defined("_INC_PUBLIC")) {
 		$page = surligner_mots($page, $var_recherche);
 	}
 
+	// Inserer au besoin les boutons admins
+	if ($affiche_boutons_admin) {
+		include_local("inc-admin.php3");
+		$page = affiche_boutons_admin($page);
+	}
+
 	// Affichage final s'il en reste
 	echo $page;
 
-- 
GitLab