Fix export pb in br

This commit is contained in:
Laurent Destailleur
2025-12-02 15:04:14 +01:00
parent efd58a5f48
commit 7828311250
2 changed files with 7 additions and 3 deletions

View File

@@ -818,7 +818,9 @@ class FormFile
$out .= '<input type="hidden" name="page_y" value="">';
$out .= '<input type="hidden" name="token" value="'.newToken().'">';
$out .= load_fiche_titre($titletoshow, '', '');
if ($titletoshow) {
$out .= load_fiche_titre($titletoshow, '', '');
}
$out .= '<div class="div-table-responsive-no-min">';
$out .= '<table class="liste formdoc noborder centpercent">';

View File

@@ -1024,6 +1024,7 @@ if ($step == 4 && $datatoexport) {
// Select request if all fields are selected
$sqlmaxforexport = $objexport->build_sql(0, array(), array());
print '<br>';
print '<div class="marginbottomonly"><span class="opacitymedium">'.$langs->trans("ChooseFieldsOrdersAndTitle").'</span></div>';
print '<div class="div-table-responsive-no-min">'; // 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 .= '</table><br>';
print '<br>';
print '<span class="opacitymedium">'.$form->textwithpicto($langs->trans("NowClickToGenerateToBuildExportFile"), $htmltabloflibs, 1, 'help', '', 0, 2, 'helphonformat').'</span>';
//print $htmltabloflibs;
print '<br>';
print '</div>';
if ($sqlusedforexport && $user->admin) {
print info_admin($langs->trans("SQLUsedForExport").':<br> '.$sqlusedforexport, 0, 0, '1', '', 'TechnicalInformation');
print info_admin($langs->trans("SQLUsedForExport").':<br> '.$sqlusedforexport, 0, 0, '1', '', 'TechnicalInformation').'<br>';
print '<br>';
}