diff --git a/htdocs/exports/export.php b/htdocs/exports/export.php index 9f02928db50..286584a64a8 100644 --- a/htdocs/exports/export.php +++ b/htdocs/exports/export.php @@ -621,10 +621,10 @@ if ($step == 4 && $datatoexport) // test d'affichage du tableau excel et csv - //print '
'; - //viewExcelFileContent($conf->export->dir_temp.'/1/export_commande_1.xls',5,3); + print '
'; + viewExcelFileContent($conf->export->dir_temp.'/1/export_commande_1.xls',5,3); //viewCsvFileContent($conf->export->dir_temp.'/1/export_commande_1.csv',5); - //print '
'; + print '
'; } diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index f2fae0c320b..bb4cecb1168 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -626,6 +626,8 @@ else function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0) { global $user, $conf, $langs, $db, $micro_start_time; + + $langs->load("dict"); // Pour le tuning optionnel. Activer si la variable d'environnement DOL_TUNING // est positionne A appeler avant tout.