From b535f58b7ca2e747f7554689d4f09e116a4d80a8 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Thu, 31 Mar 2005 21:48:27 +0000
Subject: [PATCH] =?UTF-8?q?retour=20des=20numeros=20ip=20de=20controle=20d?=
 =?UTF-8?q?u=20forum,=20qui=20avaient=20saut=C3=A9=20par=20erreur=20(Klaus?=
 =?UTF-8?q?)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/controle_forum.php3   | 2 +-
 ecrire/inc_forum.php3        | 2 +-
 ecrire/inc_presentation.php3 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ecrire/controle_forum.php3 b/ecrire/controle_forum.php3
index 57dc28e2de..24854bf77d 100644
--- a/ecrire/controle_forum.php3
+++ b/ecrire/controle_forum.php3
@@ -160,7 +160,7 @@ function controle_forum($row, $rappel) {
 		$controle .= "<span class='arial2'> / <B>$forum_auteur</B></span>";
 	}
 
-	$controle .= boutons_controle_forum($id_forum, $forum_stat, $forum_id_auteur, "$type=$valeur");
+	$controle .= boutons_controle_forum($id_forum, $forum_stat, $forum_id_auteur, "$type=$valeur", $forum_ip);
 
 	$controle .= "<br />$avant<B>$pref <A HREF='$url'>$titre</A></B>" .
 	  "<P align='justify'>".propre($forum_texte);
diff --git a/ecrire/inc_forum.php3 b/ecrire/inc_forum.php3
index a57769ba97..e6c2cf5afc 100644
--- a/ecrire/inc_forum.php3
+++ b/ecrire/inc_forum.php3
@@ -75,7 +75,7 @@ function controle_cache_forum($action, $id, $texte, $fond, $fonction, $redirect=
 }
 
 // tous les boutons de controle d'un forum
-function boutons_controle_forum($id_forum, $forum_stat, $forum_id_auteur=0, $ref) {
+function boutons_controle_forum($id_forum, $forum_stat, $forum_id_auteur=0, $ref, $forum_ip) {
 	$controle = '';
 
 	// selection du logo et des boutons correspondant a l'etat du forum
diff --git a/ecrire/inc_presentation.php3 b/ecrire/inc_presentation.php3
index 5a03d1a8eb..c42eda2a7f 100644
--- a/ecrire/inc_presentation.php3
+++ b/ecrire/inc_presentation.php3
@@ -1456,7 +1456,7 @@ function afficher_forum($request, $adresse_retour, $controle_id_article = 0) {
 
 			// boutons de moderation
 			if ($controle_id_article)
-				echo boutons_controle_forum($id_forum, $statut, $id_auteur, "id_article=$controle_id_article");
+				echo boutons_controle_forum($id_forum, $statut, $id_auteur, "id_article=$controle_id_article", $ip);
 
 			echo justifier(propre($texte));
 
-- 
GitLab