From c267f9d80d86410d569eff2acbd0f8c28c804806 Mon Sep 17 00:00:00 2001
From: James <james@rezo.net>
Date: Mon, 11 Dec 2006 21:29:55 +0000
Subject: [PATCH] =?UTF-8?q?Cons=C3=A9quences=20de=20[8038]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/action/purger.php     | 2 +-
 ecrire/action/test_dirs.php  | 2 +-
 ecrire/exec/convert_utf8.php | 2 +-
 ecrire/exec/install.php      | 2 +-
 ecrire/inc/getdocument.php   | 2 +-
 ecrire/public/debug.php      | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ecrire/action/purger.php b/ecrire/action/purger.php
index 236ccfc450..997e8e5148 100644
--- a/ecrire/action/purger.php
+++ b/ecrire/action/purger.php
@@ -67,7 +67,7 @@ function action_purger_dist()
 	include_spip('inc/minipres');
         include_spip('inc/filtres');
 
-	minipres('', "<div style='font-family: verdana, arial, sans; font-size: 12px;'>" .
+	echo minipres('', "<div style='font-family: verdana, arial, sans; font-size: 12px;'>" .
  _T('ecrire:taille_cache_image',
 		     array('dir' => _DIR_VAR,
 			   'taille' => "<b>".taille_en_octets($taille)."</b>")) .'</div>'); 
diff --git a/ecrire/action/test_dirs.php b/ecrire/action/test_dirs.php
index 063dd74d6a..588f88ce4c 100644
--- a/ecrire/action/test_dirs.php
+++ b/ecrire/action/test_dirs.php
@@ -131,7 +131,7 @@ if ($bad_dirs OR $absent_dirs) {
 	  "<DIV align='right'><input type='submit' class='fondl' value='". 
 	  _T('login_recharger')."' /></DIV>" .
 	  "</form>";
-	minipres($titre, $res);
+	echo minipres($titre, $res);
 
  } else {
 	if (!_FILE_CONNECT)
diff --git a/ecrire/exec/convert_utf8.php b/ecrire/exec/convert_utf8.php
index 20c4c6b593..e02832a543 100644
--- a/ecrire/exec/convert_utf8.php
+++ b/ecrire/exec/convert_utf8.php
@@ -58,7 +58,7 @@ function demander_conversion($tables_a_convertir, $action) {
 	}
 
 	// Ici en cas d'erreur, une page admin normale avec bouton de retour
-	minipres($action, ('<p>'.$message. "</p><p align='right'> <a href='" . generer_url_ecrire("config_lang"). "'> &gt;&gt; "._T('icone_retour')."</a>"));
+	echo minipres($action, ('<p>'.$message. "</p><p align='right'> <a href='" . generer_url_ecrire("config_lang"). "'> &gt;&gt; "._T('icone_retour')."</a>"));
 }
 
 // stocker le nouvel extra
diff --git a/ecrire/exec/install.php b/ecrire/exec/install.php
index 5f1acf4250..25e2ff8fc4 100644
--- a/ecrire/exec/install.php
+++ b/ecrire/exec/install.php
@@ -20,7 +20,7 @@ function exec_install_dist()
 {
 	$etape = _request('etape');
 	if (_FILE_CONNECT) 
-		minipres('AUTO', _T('avis_espace_interdit'));
+		echo minipres('AUTO', _T('avis_espace_interdit'));
 	else {
 
 	// On va supprimer les eventuelles vieilles valeurs de meta,
diff --git a/ecrire/inc/getdocument.php b/ecrire/inc/getdocument.php
index d87f9eaa5d..7e5c218708 100644
--- a/ecrire/inc/getdocument.php
+++ b/ecrire/inc/getdocument.php
@@ -136,7 +136,7 @@ function check_upload_error($error, $msg='') {
     exit;
   }
   
-	minipres($msg, '<form action="' .
+	echo minipres($msg, '<form action="' .
 		rawurldecode($GLOBALS['redirect']).
 		'" method="post"><div align="'.  #ici method='post' permet d'aller au bon endroit, alors qu'en GET on perd les variables... mais c'est un hack sale.
 		$spip_lang_right.
diff --git a/ecrire/public/debug.php b/ecrire/public/debug.php
index 3250895c0f..02ae8b403d 100644
--- a/ecrire/public/debug.php
+++ b/ecrire/public/debug.php
@@ -136,7 +136,7 @@ function erreur_squelette($message='', $lieu='') {
 				. _T('admin_debug')
 				. ' '
 				. supprimer_tags(extraire_multi($GLOBALS['meta']['nom_site']));
-			minipres($titre, affiche_erreurs_page($tableau_des_erreurs));
+			echo minipres($titre, affiche_erreurs_page($tableau_des_erreurs));
 		}
 	}
 }
-- 
GitLab