FIX #13294
This commit is contained in:
parent
7e428885cc
commit
864c903d05
@ -522,6 +522,7 @@ if ($step == 3 && $datatoimport)
|
||||
|
||||
print load_fiche_titre($langs->trans("InformationOnSourceFile"), '', '');
|
||||
|
||||
|
||||
print '<div class="underbanner clearboth"></div>';
|
||||
print '<div class="fichecenter">';
|
||||
print '<table width="100%" class="border tableforfield">';
|
||||
@ -540,6 +541,13 @@ if ($step == 3 && $datatoimport)
|
||||
|
||||
dol_fiche_end();
|
||||
|
||||
|
||||
if ($format == 'xlsx' && ! class_exists('XMLWriter')) {
|
||||
$langs->load("install");
|
||||
print info_admin($langs->trans("ErrorPHPDoesNotSupport", 'php-xml'), 0, 0, 1, 'error');
|
||||
}
|
||||
|
||||
|
||||
print '<br>';
|
||||
|
||||
print '<form name="userfile" action="'.$_SERVER["PHP_SELF"].'" enctype="multipart/form-data" METHOD="POST">';
|
||||
|
||||
@ -25,6 +25,7 @@ ErrorPHPDoesNotSupportCurl=Your PHP installation does not support Curl.
|
||||
ErrorPHPDoesNotSupportCalendar=Your PHP installation does not support php calendar extensions.
|
||||
ErrorPHPDoesNotSupportUTF8=Your PHP installation does not support UTF8 functions. Dolibarr cannot work correctly. Resolve this before installing Dolibarr.
|
||||
ErrorPHPDoesNotSupportIntl=Your PHP installation does not support Intl functions.
|
||||
ErrorPHPDoesNotSupport=Your PHP installation does not support %s functions.
|
||||
ErrorDirDoesNotExists=Directory %s does not exist.
|
||||
ErrorGoBackAndCorrectParameters=Go back and check/correct the parameters.
|
||||
ErrorWrongValueForParameter=You may have typed a wrong value for parameter '%s'.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user