diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php
index e784268506bbd170dc043c5f82a89e85bd971c20..92b133e7d2d15c5b78bfe5113c93ee92528e8af3 100644
--- a/htdocs/comm/action/fiche.php
+++ b/htdocs/comm/action/fiche.php
@@ -24,7 +24,7 @@
  *       \file       htdocs/comm/action/fiche.php
  *       \ingroup    agenda
  *       \brief      Page for event card
- *       \version    $Id$
+ *       \version    $Id: fiche.php,v 1.226 2011/07/18 01:44:15 eldy Exp $
  */
 
 require("../../main.inc.php");
@@ -471,8 +471,7 @@ if ($action == 'create')
 	if (GETPOST("actioncode") == 'AC_RDV') print_fiche_titre ($langs->trans("AddActionRendezVous"));
 	else print_fiche_titre ($langs->trans("AddAnAction"));
 
-	if ($mesg) print $mesg.'<br>';
-	else print "<br>";
+	dol_htmloutput_mesg($mesg);
 
 	print '<table class="border" width="100%">';
 
@@ -1023,7 +1022,7 @@ if ($id)
 
 $db->close();
 
-llxFooter('$Date$ - $Revision$');
+llxFooter('$Date: 2011/07/18 01:44:15 $ - $Revision: 1.226 $');
 
 
 /**
diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php
index 523dcb1ea902f52ad678055aa3457c3e88315616..25a5c6a0d9fd0948c192014a3bd07071efa5290d 100644
--- a/htdocs/ecm/index.php
+++ b/htdocs/ecm/index.php
@@ -21,7 +21,7 @@
  *	\file       htdocs/ecm/index.php
  *	\ingroup    ecm
  *	\brief      Main page for ECM section area
- *	\version    $Id: index.php,v 1.101 2011/07/06 21:12:34 eldy Exp $
+ *	\version    $Id: index.php,v 1.102 2011/07/18 01:44:15 eldy Exp $
  *	\author		Laurent Destailleur
  */
 
@@ -372,7 +372,7 @@ if (GETPOST('action') == 'delete')
 	if ($ret == 'html') print '<br>';
 }
 
-if ($mesg) { print $mesg."<br>"; }
+dol_htmloutput_mesg($mesg);
 
 // Toolbar
 //$head = ecm_prepare_head_fm($fac);
@@ -889,5 +889,5 @@ else
 // End of page
 $db->close();
 
-llxFooter('$Date: 2011/07/06 21:12:34 $ - $Revision: 1.101 $');
+llxFooter('$Date: 2011/07/18 01:44:15 $ - $Revision: 1.102 $');
 ?>