diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 2238564cea8..959080b1379 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -385,7 +385,6 @@ class FormFile $out.= ''; $out.= ''; - //$out.= load_fiche_titre($langs->trans("Documents"),'',''); $out.= '
'.$langs->trans("Documents").'
'; $out.= ''; @@ -435,12 +434,12 @@ class FormFile $out.= 'load("errors"); - print ' '.img_warning($langs->trans("WarningNoDocumentModelActivated")); + $out.= ' '.img_warning($langs->trans("WarningNoDocumentModelActivated")); } $out.= ''; @@ -452,7 +451,7 @@ class FormFile { foreach($hooks as $module) { - if (method_exists($module,'formBuilddocOptions')) $module->formBuilddocOptions(); + if (method_exists($module,'formBuilddocOptions')) $out.= $module->formBuilddocOptions(); } } } @@ -473,7 +472,7 @@ class FormFile $headershown=1; $titletoshow=$langs->trans("Documents"); if (! empty($title)) $titletoshow=$title; - print_titre($titletoshow); + $out.= '
'.$titletoshow.'
'; $out.= '
'; }