From 3d51338f079c7a27bf302d816f6c9f9f862ea158 Mon Sep 17 00:00:00 2001
From: Antoine Pitrou <pitrou@free.fr>
Date: Wed, 26 Nov 2003 14:56:48 +0000
Subject: [PATCH] =?UTF-8?q?interface=20simplifi=C3=A9e?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/inc_presentation.php3 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ecrire/inc_presentation.php3 b/ecrire/inc_presentation.php3
index a301ea123a..f1cd9c6f5a 100644
--- a/ecrire/inc_presentation.php3
+++ b/ecrire/inc_presentation.php3
@@ -1530,6 +1530,7 @@ function debut_page($titre = "", $rubrique = "asuivre", $sous_rubrique = "asuivr
 	echo "\n<table cellpadding='0' bgcolor='$couleur_foncee' style='border-bottom: solid 1px white; border-top: solid 1px #666666;' width='100%'><tr width='100%'><td width='100%'>";
 	echo "<table align='center' cellpadding='0' background='' width='$largeur'><tr width='$largeur'><td>";
 
+	if ($options == 'avancees') {
 		global $id_rubrique;
 		if ($id_rubrique > 0) echo "<a href='brouteur.php3?id_rubrique=$id_rubrique' title='"._T('icone_site_entier')."'><img src='img_pack/naviguer-site.gif' alt='nav' width='26' height='20' border='0'></a>";
 		else echo "<a href='brouteur.php3' title='"._T('icone_site_entier')."'><img src='img_pack/naviguer-site.gif' alt='nav' width='26' height='20' border='0'></a>";
@@ -1548,7 +1549,9 @@ function debut_page($titre = "", $rubrique = "asuivre", $sous_rubrique = "asuivr
 			echo "</b></font> &nbsp; ";
 		}
 
-	if ($activer_messagerie == "oui" AND $connect_activer_messagerie != "non") echo "<a href='calendrier.php3' title='"._T('icone_agenda')."'><img src='img_pack/cal-mois.gif' alt='jour' width='26' height='20' border='0'></a>";
+		if ($activer_messagerie == "oui" AND $connect_activer_messagerie != "non") echo "<a href='calendrier.php3' title='"._T('icone_agenda')."'><img src='img_pack/cal-mois.gif' alt='jour' width='26' height='20' border='0'></a>";
+	}
+
 	echo "</td>";
 	echo "<td>   </td>";
 	echo "<td>";
-- 
GitLab