From 78283112504ee531d03a67fea8ed66f8a0101b46 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 2 Dec 2025 15:04:14 +0100 Subject: [PATCH] Fix export pb in br --- htdocs/core/class/html.formfile.class.php | 4 +++- htdocs/exports/export.php | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 8d58b942329..1d192a7a63c 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -818,7 +818,9 @@ class FormFile $out .= ''; $out .= ''; - $out .= load_fiche_titre($titletoshow, '', ''); + if ($titletoshow) { + $out .= load_fiche_titre($titletoshow, '', ''); + } $out .= '
'; $out .= ''; diff --git a/htdocs/exports/export.php b/htdocs/exports/export.php index 8e91f155da6..3312801761c 100644 --- a/htdocs/exports/export.php +++ b/htdocs/exports/export.php @@ -1024,6 +1024,7 @@ if ($step == 4 && $datatoexport) { // Select request if all fields are selected $sqlmaxforexport = $objexport->build_sql(0, array(), array()); + print '
'; print '
'.$langs->trans("ChooseFieldsOrdersAndTitle").'
'; print '
'; // You can use div-table-responsive-no-min if you don't need reserved height for your table @@ -1354,15 +1355,16 @@ if ($step == 5 && $datatoexport) { } $htmltabloflibs .= '

'; + print '
'; print ''.$form->textwithpicto($langs->trans("NowClickToGenerateToBuildExportFile"), $htmltabloflibs, 1, 'help', '', 0, 2, 'helphonformat').''; //print $htmltabloflibs; - print '
'; print '
'; if ($sqlusedforexport && $user->admin) { - print info_admin($langs->trans("SQLUsedForExport").':
'.$sqlusedforexport, 0, 0, '1', '', 'TechnicalInformation'); + print info_admin($langs->trans("SQLUsedForExport").':
'.$sqlusedforexport, 0, 0, '1', '', 'TechnicalInformation').'
'; + print '
'; }