diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 3cfbf516322..e2b49475463 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -59,9 +59,9 @@ if ($HTTP_POST_VARS["action"] == 'add_action') $actioncomm->date = $db->idate(mktime($HTTP_POST_VARS["heurehour"], $HTTP_POST_VARS["heuremin"], 0, - $HTTP_POST_VARS["remonth"], - $HTTP_POST_VARS["reday"], - $HTTP_POST_VARS["reyear"]) + $HTTP_POST_VARS["acmonth"], + $HTTP_POST_VARS["acday"], + $HTTP_POST_VARS["acyear"]) ); if ($HTTP_POST_VARS["actionid"] == 5) { @@ -191,7 +191,8 @@ if ($_GET["action"] == 'create') print ''.$societe->nom.''; print '
| ';
- if ($action=='edit')
+ print ' ';
+
+ if ($_GET["action"] == 'edit')
{
- print 'Annuler | ';
+ print 'Annuler';
}
else
{
- print 'Editer';
+ print 'Editer';
}
- print '- | '; - print '- | '; - print '- | '; - print ''; - print 'Supprimer | '; - print '