Qual: Uniformize code

This commit is contained in:
Laurent Destailleur 2011-07-18 01:44:15 +00:00
parent 06acb0eb76
commit 4a394cd96c
2 changed files with 6 additions and 7 deletions

View File

@ -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 $');
/**

View File

@ -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 $');
?>