From 3d93fba4b8f1cbc6b6629d974a998d9a3539000e Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Fri, 15 Mar 2019 09:45:01 +0100 Subject: [PATCH] update with html5 compliant code --- htdocs/install/upgrade.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php index 6a821d8dbaf..1e912545638 100644 --- a/htdocs/install/upgrade.php +++ b/htdocs/install/upgrade.php @@ -181,16 +181,16 @@ if (! GETPOST('action', 'aZ09') || preg_match('/upgrade/i', GETPOST('action', 'a $version=$db->getVersion(); $versionarray=$db->getVersionArray(); print ''.$langs->trans("ServerVersion").''; - print ''.$version.''; + print ''.$version.''; dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ServerVersion") . ": " .$version); if ($db->type == 'mysqli' && function_exists('mysqli_get_charset')) { $tmparray = $db->db->get_charset(); print ''.$langs->trans("ClientCharset").''; - print ''.$tmparray->charset.''; + print ''.$tmparray->charset.''; dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ClientCharset") . ": " .$tmparray->charset); print ''.$langs->trans("ClientSortingCharset").''; - print ''.$tmparray->collation.''; + print ''.$tmparray->collation.''; dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ClientCollation") . ": " .$tmparray->collation); } @@ -201,7 +201,7 @@ if (! GETPOST('action', 'aZ09') || preg_match('/upgrade/i', GETPOST('action', 'a && versioncompare($versionarray, $versionmindb) < 0) { // Warning: database version too low. - print "".$langs->trans("ErrorDatabaseVersionTooLow", join('.', $versionarray), join('.', $versionmindb))."".$langs->trans("Error")."\n"; + print "".$langs->trans("ErrorDatabaseVersionTooLow", join('.', $versionarray), join('.', $versionmindb))."".$langs->trans("Error")."\n"; dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ErrorDatabaseVersionTooLow", join('.', $versionarray), join('.', $versionmindb))); $ok=0; } @@ -228,7 +228,7 @@ if (! GETPOST('action', 'aZ09') || preg_match('/upgrade/i', GETPOST('action', 'a ) { // Warning: database version too low. - print '
'.$langs->trans("ErrorDatabaseVersionForbiddenForMigration", join('.', $versionarray), $listofforbiddenversion)."
".$langs->trans("Error")."\n"; + print '
'.$langs->trans("ErrorDatabaseVersionForbiddenForMigration", join('.', $versionarray), $listofforbiddenversion)."
".$langs->trans("Error")."\n"; dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ErrorDatabaseVersionForbiddenForMigration", join('.', $versionarray), $listofforbiddenversion)); $ok=0; break; @@ -367,7 +367,7 @@ if (! GETPOST('action', 'aZ09') || preg_match('/upgrade/i', GETPOST('action', 'a if (in_array($dir.$file, $listoffileprocessed)) continue; print '
'; - print ''.$langs->trans("ChoosedMigrateScript").''.$file.''."\n"; + print ''.$langs->trans("ChoosedMigrateScript").''.$file.''."\n"; // Run sql script $ok=run_sql($dir.$file, 0, '', 1); @@ -401,7 +401,7 @@ if (! GETPOST('action', 'aZ09') || preg_match('/upgrade/i', GETPOST('action', 'a if (in_array($modulefilelong, $listoffileprocessed)) continue; print '
'; - print ''.$langs->trans("ChoosedMigrateScript").' (external modules)'.$modulefileshort.''."\n"; + print ''.$langs->trans("ChoosedMigrateScript").' (external modules)'.$modulefileshort.''."\n"; // Run sql script $okmodule=run_sql($modulefilelong, 0, '', 1); // Note: Result of migration of external module should not decide if we continue migration of Dolibarr or not.