diff --git a/htdocs/imports/import.php b/htdocs/imports/import.php
index f484e3b0901..0783e6352a4 100644
--- a/htdocs/imports/import.php
+++ b/htdocs/imports/import.php
@@ -492,12 +492,16 @@ if ($step == 2 && $datatoimport) {
print '';
print '';
+ print '
';
+
print '';
$s = $langs->trans("ChooseFormatOfFileToImport", '{s1}');
$s = str_replace('{s1}', img_picto('', 'next'), $s);
print $s;
print '
';
+ print '
';
+
print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
print '
';
@@ -513,7 +517,9 @@ if ($step == 2 && $datatoimport) {
print '| '.img_picto_common($key, $objmodelimport->getPictoForKey($key)).' | ';
$text = $objmodelimport->getDriverDescForKey($key);
print ''.$form->textwithpicto($objmodelimport->getDriverLabelForKey($key), $text).' | ';
- print ''.$langs->trans("DownloadEmptyExample").' | ';
+ print '';
+ print img_picto('', 'download', 'class="paddingright opacitymedium"').''.$langs->trans("DownloadEmptyExample").'';
+ print ' | ';
// Action button
print '';
print ''.img_picto($langs->trans("SelectFormat"), 'next', 'class="fa-15x"').'';
@@ -587,7 +593,7 @@ if ($step == 3 && $datatoimport) {
print ' |
';
print '
';
- print load_fiche_titre($langs->trans("InformationOnSourceFile"), '', '');
+ print load_fiche_titre($langs->trans("InformationOnSourceFile"), '', 'file-export');
print '';
print '';
@@ -598,8 +604,8 @@ if ($step == 3 && $datatoimport) {
print '
';
$text = $objmodelimport->getDriverDescForKey($format);
print $form->textwithpicto($objmodelimport->getDriverLabelForKey($format), $text);
- print ' | '.$langs->trans("DownloadEmptyExample").'';
-
+ print ' | ';
+ print img_picto('', 'download', 'class="paddingright opacitymedium"').''.$langs->trans("DownloadEmptyExample").'';
print ' | ';
print '';
@@ -890,7 +896,7 @@ if ($step == 4 && $datatoimport) {
print '';
print '
';
- print load_fiche_titre($langs->trans("InformationOnSourceFile"), '', '');
+ print load_fiche_titre($langs->trans("InformationOnSourceFile"), '', 'file-export');
print '';
print '';
@@ -1374,7 +1380,7 @@ if ($step == 5 && $datatoimport) {
print '';
print '
';
- print load_fiche_titre($langs->trans("InformationOnSourceFile"), '', '');
+ print load_fiche_titre($langs->trans("InformationOnSourceFile"), '', 'file-export');
print '';
print '';
@@ -1468,7 +1474,7 @@ if ($step == 5 && $datatoimport) {
print '
';
- print load_fiche_titre($langs->trans("InformationOnTargetTables"), '', '');
+ print load_fiche_titre($langs->trans("InformationOnTargetTables"), '', 'file-import');
print '';
print '';
@@ -1812,7 +1818,7 @@ if ($step == 6 && $datatoimport) {
print '';
print '
';
- print load_fiche_titre($langs->trans("InformationOnSourceFile"), '', '');
+ print load_fiche_titre($langs->trans("InformationOnSourceFile"), '', 'file-export');
print '';
print '';
@@ -1875,8 +1881,7 @@ if ($step == 6 && $datatoimport) {
print '
'.$langs->trans("InformationOnTargetTables").'';
print '
';
print '
';
- print '
';
- //print '| '.$langs->trans("InformationOnTargetTables").' |
';
+ print '';
// Tables imported
print '| ';
diff --git a/htdocs/includes/phpoffice/autoloader.php b/htdocs/includes/phpoffice/phpspreadsheet/src/autoloader.php
similarity index 81%
rename from htdocs/includes/phpoffice/autoloader.php
rename to htdocs/includes/phpoffice/phpspreadsheet/src/autoloader.php
index 71e94e9b738..809725dfb6f 100644
--- a/htdocs/includes/phpoffice/autoloader.php
+++ b/htdocs/includes/phpoffice/phpspreadsheet/src/autoloader.php
@@ -5,6 +5,6 @@ spl_autoload_register(function ($class_name) {
if (1 === $preg_match) {
$class_name = preg_replace('/\\\/', '/', $class_name);
$class_name = preg_replace('/^PhpOffice\\/PhpSpreadsheet\\//', '', $class_name);
- require_once(__DIR__ . '/PhpSpreadsheet/' . $class_name . '.php');
+ require_once __DIR__ . '/PhpSpreadsheet/' . $class_name . '.php';
}
});
|