From 3c20443fe08537e065aa0a01bcd73c7f3ea848e5 Mon Sep 17 00:00:00 2001
From: "Committo,Ergo:sum" <esj@rezo.net>
Date: Thu, 30 Mar 2006 19:32:24 +0000
Subject: [PATCH] =?UTF-8?q?pas=20de=20barre=20typo=20en=20affichage=20l?=
 =?UTF-8?q?=C3=A9ger=20(Alain=20BarBason)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/exec/articles_edit.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ecrire/exec/articles_edit.php b/ecrire/exec/articles_edit.php
index fe2722a91c..0d5291ceb0 100644
--- a/ecrire/exec/articles_edit.php
+++ b/ecrire/exec/articles_edit.php
@@ -99,7 +99,7 @@ function chapo_articles_edit($chapo, $articles_chapeau)
 //// a TESTER
 function formulaire_articles_edit($id_article, $id_rubrique, $titre, $soustitre, $surtitre, $descriptif, $chapo, $texte, $ps, $new, $nom_site, $url_site, $extra, $id_secteur, $date, $onfocus, $lier_trad, $champs_article)
 {
- global   $champs_extra, $spip_lang, $options , $spip_ecran;
+  global   $champs_extra, $spip_lang, $options , $spip_ecran, $spip_display;
 
  $articles_surtitre = $champs_article['articles_surtitre'];
  $articles_soustitre = $champs_article['articles_soustitre'];
@@ -238,8 +238,8 @@ echo "<P><HR><P>";
 
 	echo $textes_supplement;
 
-	//echo "<BR>";
-	echo afficher_barre('document.formulaire.texte');
+	
+	if ($spip_display!=4) echo afficher_barre('document.formulaire.texte');
 	echo "<TEXTAREA id='text_area' NAME='texte' ".$GLOBALS['browser_caret']." CLASS='formo' ROWS='$rows' COLS='40' wrap=soft>";
 	echo $texte;
 	echo "</TEXTAREA>\n";
-- 
GitLab