diff --git a/htdocs/document.php b/htdocs/document.php
index 8d70485fa66..fe548685f4f 100644
--- a/htdocs/document.php
+++ b/htdocs/document.php
@@ -279,6 +279,7 @@ if ($action == 'remove_file')
}
unlink($original_file);
+ dolibarr_syslog("document.php back to ".urldecode($urlsource));
Header("Location: ".urldecode($urlsource));
return;
}
diff --git a/htdocs/exports/export.php b/htdocs/exports/export.php
index 924f58c5ba4..fe121423692 100644
--- a/htdocs/exports/export.php
+++ b/htdocs/exports/export.php
@@ -180,7 +180,7 @@ if ($step == 1 || ! $datatoexport)
print '
';
print $objexport->array_export_label[$key];
print ' | ';
- print ''.img_picto($langs->trans("NewExport"),'filenew').'';
+ print ''.img_picto($langs->trans("NewExport"),'filenew').'';
print ' | ';
}
}
@@ -206,7 +206,7 @@ if ($step == 2 && $datatoexport)
$head[$h][1] = $langs->trans("Step")." 1";
$h++;
- $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=2&datatoexport='.$datatoexport;
+ $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=2&datatoexport='.$datatoexport;
$head[$h][1] = $langs->trans("Step")." 2";
$hselected=$h;
$h++;
@@ -265,14 +265,14 @@ if ($step == 2 && $datatoexport)
{
// Champ sélectionné
print ' | ';
- print ''.img_left().' | ';
+ print ''.img_left().' | ';
print ''.$langs->trans($label).' ('.$code.') | ';
}
else
{
// Champ non sélectionné
print ''.$langs->trans($label).' ('.$code.') | ';
- print ''.img_right().' | ';
+ print ''.img_right().' | ';
print ' | ';
}
@@ -291,7 +291,7 @@ if ($step == 2 && $datatoexport)
if (sizeof($array_selected))
{
- print ''.$langs->trans("NextStep").'';
+ print ''.$langs->trans("NextStep").'';
}
print '';
@@ -312,11 +312,11 @@ if ($step == 3 && $datatoexport)
$head[$h][1] = $langs->trans("Step")." 1";
$h++;
- $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=2&datatoexport='.$datatoexport;
+ $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=2&datatoexport='.$datatoexport;
$head[$h][1] = $langs->trans("Step")." 2";
$h++;
- $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=3&datatoexport='.$datatoexport;
+ $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=3&datatoexport='.$datatoexport;
$head[$h][1] = $langs->trans("Step")." 3";
$hselected=$h;
$h++;
@@ -377,8 +377,8 @@ if ($step == 3 && $datatoexport)
print '';
print $value.' ';
print ' | ';
- if ($value < sizeof($array_selected)) print ''.img_down().'';
- if ($value > 1) print ''.img_up().'';
+ if ($value < sizeof($array_selected)) print ''.img_down().'';
+ if ($value > 1) print ''.img_up().'';
print ' | ';
print ' | ';
@@ -400,7 +400,7 @@ if ($step == 3 && $datatoexport)
if (sizeof($array_selected))
{
- print ''.$langs->trans("NextStep").'';
+ print ''.$langs->trans("NextStep").'';
}
print '';
@@ -421,15 +421,15 @@ if ($step == 4 && $datatoexport)
$head[$h][1] = $langs->trans("Step")." 1";
$h++;
- $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=2&datatoexport='.$datatoexport;
+ $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=2&datatoexport='.$datatoexport;
$head[$h][1] = $langs->trans("Step")." 2";
$h++;
- $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=3&datatoexport='.$datatoexport;
+ $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=3&datatoexport='.$datatoexport;
$head[$h][1] = $langs->trans("Step")." 3";
$h++;
- $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=4&datatoexport='.$datatoexport;
+ $head[$h][0] = DOL_URL_ROOT.'/exports/export.php?step=4&datatoexport='.$datatoexport;
$head[$h][1] = $langs->trans("Step")." 4";
$hselected=$h;
$h++;
@@ -492,7 +492,7 @@ if ($step == 4 && $datatoexport)
// Affiche liste des documents
// NB: La fonction show_documents rescanne les modules qd genallowed=1
- $htmlform->show_documents('export','',$conf->export->dir_ouput.'/'.$user->id,$_SERVER["PHP_SELF"].'?step=4&datatoexport='.$datatoexport,$liste,1,'csv','',1);
+ $htmlform->show_documents('export','',$conf->export->dir_ouput.'/'.$user->id,$_SERVER["PHP_SELF"].'?step=4&datatoexport='.$datatoexport,$liste,1,'csv','',1);
print ' | ';
print '';