Skip to content
Snippets Groups Projects
Commit 77d041c9 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Qual: Uniformize code

parent 5e3a9261
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
* \file htdocs/comm/action/fiche.php * \file htdocs/comm/action/fiche.php
* \ingroup agenda * \ingroup agenda
* \brief Page for event card * \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"); require("../../main.inc.php");
...@@ -471,8 +471,7 @@ if ($action == 'create') ...@@ -471,8 +471,7 @@ if ($action == 'create')
if (GETPOST("actioncode") == 'AC_RDV') print_fiche_titre ($langs->trans("AddActionRendezVous")); if (GETPOST("actioncode") == 'AC_RDV') print_fiche_titre ($langs->trans("AddActionRendezVous"));
else print_fiche_titre ($langs->trans("AddAnAction")); else print_fiche_titre ($langs->trans("AddAnAction"));
if ($mesg) print $mesg.'<br>'; dol_htmloutput_mesg($mesg);
else print "<br>";
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';
...@@ -1023,7 +1022,7 @@ if ($id) ...@@ -1023,7 +1022,7 @@ if ($id)
$db->close(); $db->close();
llxFooter('$Date$ - $Revision$'); llxFooter('$Date: 2011/07/18 01:44:15 $ - $Revision: 1.226 $');
/** /**
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* \file htdocs/ecm/index.php * \file htdocs/ecm/index.php
* \ingroup ecm * \ingroup ecm
* \brief Main page for ECM section area * \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 * \author Laurent Destailleur
*/ */
...@@ -372,7 +372,7 @@ if (GETPOST('action') == 'delete') ...@@ -372,7 +372,7 @@ if (GETPOST('action') == 'delete')
if ($ret == 'html') print '<br>'; if ($ret == 'html') print '<br>';
} }
if ($mesg) { print $mesg."<br>"; } dol_htmloutput_mesg($mesg);
// Toolbar // Toolbar
//$head = ecm_prepare_head_fm($fac); //$head = ecm_prepare_head_fm($fac);
...@@ -889,5 +889,5 @@ else ...@@ -889,5 +889,5 @@ else
// End of page // End of page
$db->close(); $db->close();
llxFooter('$Date: 2011/07/06 21:12:34 $ - $Revision: 1.101 $'); llxFooter('$Date: 2011/07/18 01:44:15 $ - $Revision: 1.102 $');
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment