diff --git a/htdocs/imports/import.php b/htdocs/imports/import.php
index 823d9a20e4d..0cab43114ce 100644
--- a/htdocs/imports/import.php
+++ b/htdocs/imports/import.php
@@ -390,7 +390,7 @@ if ($step == 2 && $datatoimport)
print '
| |
';
- print '| '.$langs->trans("ChooseFileToImport").' |
';
+ print '| '.$langs->trans("ChooseFileToImport",img_picto('','filenew')).' |
';
print '| '.$langs->trans("FileWithDataToImport").' |
';
@@ -447,7 +447,7 @@ if ($step == 2 && $datatoimport)
// Affiche date fichier
print ''.dol_print_date(filemtime($dir.'/'.$file),'dayhour').' | ';
// Del button
- print ''.img_delete().' | ';
// Action button
@@ -507,8 +507,8 @@ if ($step == 3 && $datatoimport)
// Save the match array in session. We now will use the array in session.
$_SESSION["dol_array_match_file_to_database"]=$array_match_file_to_database;
}
-var_dump($array_match_file_to_database);
+var_dump($array_match_file_to_database);
llxHeader('',$langs->trans("NewImport"));
@@ -525,7 +525,7 @@ var_dump($array_match_file_to_database);
$head[$h][1] = $langs->trans("Step")." 2";
$h++;
- $head[$h][0] = DOL_URL_ROOT.'/imports/import.php?step=3&datatoimport='.$datatoimport;
+ $head[$h][0] = DOL_URL_ROOT.'/imports/import.php?step=3&datatoimport='.$datatoimport.'&filetoimport='.urlencode($_GET["filetoimport"]);
$head[$h][1] = $langs->trans("Step")." 3";
$hselected=$h;
$h++;
@@ -605,8 +605,8 @@ var_dump($array_match_file_to_database);
print ' ';
if (sizeof($fieldssource) > 1 && $pos <= sizeof($fieldssource))
{
- if ($pos < $maxpos) print ''.img_down().'';
- if ($pos > 1) print ''.img_up().'';
+ if ($pos < $maxpos) print ''.img_down().'';
+ if ($pos > 1) print ''.img_up().'';
}
print ' | ';
diff --git a/htdocs/langs/en_US/exports.lang b/htdocs/langs/en_US/exports.lang
index 955fa9f765f..95b70db3d33 100644
--- a/htdocs/langs/en_US/exports.lang
+++ b/htdocs/langs/en_US/exports.lang
@@ -54,8 +54,8 @@ LineTotalTTC=Amount with tax for line
LineTotalVAT=Amount of VAT for line
TypeOfLineServiceOrProduct=Type of line (0=product, 1=service)
FileWithDataToImport=File with data to import
-FileToImport=File to import
+FileToImport=Source file to import
FileMustHaveOneOfFollowingFormat=File to import must have one of following format
-ChooseFileToImport=Choose file to import...
+ChooseFileToImport=Choose file to import then click on picto %s ...
FieldsInSourceFile=Fields in source file
FieldsInTargetDatabase=Target fields in Dolibarr database
diff --git a/htdocs/langs/fr_FR/exports.lang b/htdocs/langs/fr_FR/exports.lang
index 32b96767bce..25cf7bb6ded 100644
--- a/htdocs/langs/fr_FR/exports.lang
+++ b/htdocs/langs/fr_FR/exports.lang
@@ -54,8 +54,8 @@ LineTotalTTC=Montant TTC de la ligne
LineTotalVAT=Montant TVA de la ligne
TypeOfLineServiceOrProduct=Type de ligne (0=produit, 1=service)
FileWithDataToImport=Fichier contenant les données à importer
-FileToImport=Fichier à importer
+FileToImport=Fichier source à importer
FileMustHaveOneOfFollowingFormat=Le fichier à importer doit avoir un des formats suivants
-ChooseFileToImport=Choisissez le fichier à importer...
+ChooseFileToImport=Choisissez le fichier à importer puis cliquez sur le picto %s ...
FieldsInSourceFile=Champs dans le fichier source
FieldsInTargetDatabase=Champs cibles dans la base Dolibarr
\ No newline at end of file