diff --git a/ecrire/controle_forum.php3 b/ecrire/controle_forum.php3 index 039c9f5e10058aff0158008bf59b5f1484a38a9a..240d6ddcafb2d899719f42b368bf7a289c4a514c 100644 --- a/ecrire/controle_forum.php3 +++ b/ecrire/controle_forum.php3 @@ -216,8 +216,6 @@ function controle_forum($request,$adresse_retour) { echo "<A HREF='controle_forum.php3?valid_forum=$id_forum&debut=$debut' onMouseOver=\"valider_message$id_forum.src='IMG2/valider-message-on.gif'\" onMouseOut=\"valider_message$id_forum.src='IMG2/valider-message-off.gif'\"><IMG SRC='IMG2/valider-message-off.gif' WIDTH=60 HEIGHT=52 NAME='valider_message$id_forum' ALIGN='right' BORDER=0></A>"; } - - echo "<BR>".forum_parent($id_forum); echo "<P align='justify'>".propre($forum_texte); @@ -225,24 +223,6 @@ function controle_forum($request,$adresse_retour) { if (strlen($forum_url_site) > 10 AND strlen($forum_nom_site) > 3) { echo "<P align='left'><FONT FACE='Verdana,Arial,Helvetica,sans-serif'><B><A HREF='$forum_url_site'>$forum_nom_site</A></B></FONT>"; } - - if ($mots_cles_forums == "oui"){ - - $query_mots = "SELECT * FROM spip_mots AS mots, spip_mots_forum AS lien WHERE lien.id_forum = '$id_forum' AND lien.id_mot = mots.id_mot"; - $result_mots = mysql_query($query_mots); - - while ($row_mots = mysql_fetch_array($result_mots)) { - $id_mot = $row_mots['id_mot']; - $titre_mot = propre($row_mots['titre']); - $type_mot = propre($row_mots['type']); - echo "<li> <b>$type_mot :</b> $titre_mot"; - } - - } - - - - echo "</FONT>"; echo "</TD></TR></TABLE>"; diff --git a/ecrire/inc_presentation.php3 b/ecrire/inc_presentation.php3 index 956338c1f66b27100089758d8f305c74aa1f96ec..3cb19d4881125cbf23857b8d6760abeb6d5ea6c7 100644 --- a/ecrire/inc_presentation.php3 +++ b/ecrire/inc_presentation.php3 @@ -593,18 +593,7 @@ function afficher_forum($request, $adresse_retour, $controle = "non", $recurrenc ."&titre_message=".rawurlencode($titre); echo "<b><a href=\"$url\">Répondre à ce message</a></b></font>"; } - - if ($mots_cles_forums == "oui"){ - $query_mots = "SELECT * FROM spip_mots AS mots, spip_mots_forum AS lien WHERE lien.id_forum = '$id_forum' AND lien.id_mot = mots.id_mot"; - $result_mots = mysql_query($query_mots); - while ($row_mots = mysql_fetch_array($result_mots)) { - $id_mot = $row_mots['id_mot']; - $titre_mot = propre($row_mots['titre']); - $type_mot = propre($row_mots['type']); - echo "<li> <b>$type_mot :</b> $titre_mot"; - } - } - + echo "</font>"; echo "</td></tr></table>"; if ($statut == "off" OR $statut == "prop") {