diff --git a/.gitattributes b/.gitattributes
index c98d334474abf8b5ce27ca01080766defee6a524..2169963811c3a472efc5f260e60621d7f15f3673 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -458,6 +458,7 @@ ecrire/inc/minipres.php -text
 ecrire/inc/petitionner.php -text
 ecrire/inc/plugin.php -text
 ecrire/inc/popularites.php -text
+ecrire/inc/poster.php -text
 ecrire/inc/referencer_traduction.php -text
 ecrire/inc/sites_voir.php -text
 ecrire/inc/suivi_versions.php -text
diff --git a/ecrire/inc/poster.php b/ecrire/inc/poster.php
new file mode 100644
index 0000000000000000000000000000000000000000..e51ed20ac2b7c044155785f38a461d4d0b1069c4
--- /dev/null
+++ b/ecrire/inc/poster.php
@@ -0,0 +1,70 @@
+<?php
+
+/***************************************************************************\
+ *  SPIP, Systeme de publication pour l'internet                           *
+ *                                                                         *
+ *  Copyright (c) 2001-2006                                                *
+ *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
+ *                                                                         *
+ *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
+ *  Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne.   *
+\***************************************************************************/
+
+if (!defined("_ECRIRE_INC_VERSION")) return;
+
+// Recuperer le reglage des forums publics de l'article x
+// http://doc.spip.org/@get_forums_publics
+function get_forums_publics($id_article=0) {
+
+	if ($id_article) {
+		$res = spip_query("SELECT accepter_forum FROM spip_articles WHERE id_article=$id_article");
+
+		if ($obj = spip_fetch_array($res))
+			return $obj['accepter_forum'];
+	} else { // dans ce contexte, inutile
+		return substr($GLOBALS['meta']["forums_publics"],0,3);
+	}
+	return $GLOBALS['meta']["forums_publics"];
+}
+
+// Cree le formulaire de modification du reglage des forums de l'article
+// http://doc.spip.org/@formulaire_poster
+function inc_poster_dist($id_article, $script, $args, $ajax=false) {
+	global $spip_lang_right;
+
+	$statut_forum = get_forums_publics($id_article);
+
+	$r.= "\n\t"
+	. _T('info_fonctionnement_forum')
+	. "\n\t<select name='change_accepter_forum'
+		class='fondl'
+		style='font-size:10px;'
+		onchange=\"findObj_forcer('valider_poster_$id_article').style.visibility='visible';\"
+		>";
+
+	foreach (array(
+		'pos'=>_T('bouton_radio_modere_posteriori'),
+		'pri'=>_T('bouton_radio_modere_priori'),
+		'abo'=>_T('bouton_radio_modere_abonnement'),
+		'non'=>_T('info_pas_de_forum'))
+		as $val => $desc) {
+		$r .= "\n\t<option";
+		if ($statut_forum == $val)
+			$r .= " selected='selected'";
+		$r .= " value='$val'>".$desc."</option>";
+	}
+	$r .= "\n\t</select>\n";
+
+	$r .= "<div align='$spip_lang_right' id='valider_poster_$id_article'"
+	. ($ajax ? '' : " class='visible_au_chargement'")
+	. ">\n\t<input type='submit' class='fondo' style='font-size:10px' value='"
+	. _T('bouton_changer')
+	. "' /></div>\n";
+
+	$r = ajax_action_auteur('poster', $id_article, $script, $args, $r);
+
+	return ($ajax == 'ajax') 
+	? $r
+	:  "<div id='poster-$id_article'>$r</div>";
+}
+?>