diff --git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php
index 6e8deddca39b4c68707efe9cdd94ade3e1bef6de..7f74af2bf78cf3bd52d176e39903c495c232683a 100644
--- a/ecrire/inc/filtres.php
+++ b/ecrire/inc/filtres.php
@@ -2273,22 +2273,30 @@ function url_rss_forum($texte){return $texte;}
  *
  * @param string $url
  * @param string $libelle
+ *   le texte du lien
  * @param bool $on
+ *   etat expose (genere un strong) ou non (genere un lien)
  * @param string $class
  * @param string $title
+ * @param string $rel
+ * @param string $evt
+ *   complement a la balise a pour gerer un evenement javascript, de la forme " onclick='...'"
  * @return string
  */
-function lien_ou_expose($url,$libelle=NULL,$on=false,$class="",$title="",$rel=""){
-	return 
-	($on ?"<strong class='on'>":
-		"<a href='$url'"
+function lien_ou_expose($url,$libelle,$on=false,$class="",$title="",$rel="", $evt=''){
+	if ($on) {
+		$bal = "strong";
+		$att = "class='on'";
+	} else {
+		$bal = 'a';
+		$att = "href='$url'"
 	  	.($title?" title='".attribut_html($title)."'":'')
 	  	.($class?" class='".attribut_html($class)."'":'')
 	  	.($rel?" rel='".attribut_html($rel)."'":'')
-	  	.">"
-	)
-	. $libelle != NULL ? $libelle : $url
-	. ($on ? "</strong>":"</a>");
+		.$evt;
+	}
+
+	return "<$bal $att>$libelle</$bal>";
 }