From 5b5f4a900c8dc4a57dd6ba2e3d5e38673d80ae6b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 29 Mar 2020 23:14:51 +0200 Subject: [PATCH] Fix css of buttome of recommended choice --- htdocs/install/check.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/htdocs/install/check.php b/htdocs/install/check.php index 6fb01d5329c..b4de3cebb66 100644 --- a/htdocs/install/check.php +++ b/htdocs/install/check.php @@ -415,19 +415,23 @@ else $available_choices = array(); $notavailable_choices = array(); - // Show line of first install choice - $choice = ''."\n"; + if (empty($dolibarr_main_db_host)) // This means install process was not run + { + $foundrecommandedchoice = 1; // To show only once + } + + // Show line of first install choice + $choice = ''."\n"; $choice .= ''.$langs->trans("FreshInstall").''; $choice .= ''; $choice .= ''; $choice .= $langs->trans("FreshInstallDesc"); if (empty($dolibarr_main_db_host)) // This means install process was not run { - $choice .= '
'; + $choice .= '
'; //print $langs->trans("InstallChoiceRecommanded",DOL_VERSION,$conf->global->MAIN_VERSION_LAST_UPGRADE); $choice .= '
'.$langs->trans("InstallChoiceSuggested").'
'; // Ok '; - $foundrecommandedchoice = 1; // To show only once } $choice .= '';