From fb868bc8f9b12daba86a1941585d1c33d862eb34 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 10 Apr 2015 10:20:51 +0200 Subject: [PATCH] We must use the dol_fiche_head and dol_fiche_end also for "create" forms. --- htdocs/contrat/card.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php index 8cb60d25215..d37b3c11392 100644 --- a/htdocs/contrat/card.php +++ b/htdocs/contrat/card.php @@ -958,6 +958,8 @@ if ($action == 'create') print ''."\n"; print ''; + dol_fiche_head(); + print ''; // Ref @@ -1053,7 +1055,9 @@ if ($action == 'create') print "
\n"; - print '
'; + dol_fiche_end(); + + print '
'; if (is_object($objectsrc)) { @@ -1065,10 +1069,8 @@ if ($action == 'create') print '
'.$langs->trans("Note").': '.$langs->trans("OnlyLinesWithTypeServiceAreUsed"); } } - + print "\n"; - - dol_fiche_end(); } else /* *************************************************************************** */