Fix css of buttome of recommended choice
This commit is contained in:
parent
221776d07d
commit
5b5f4a900c
@ -415,19 +415,23 @@ else
|
|||||||
$available_choices = array();
|
$available_choices = array();
|
||||||
$notavailable_choices = array();
|
$notavailable_choices = array();
|
||||||
|
|
||||||
// Show line of first install choice
|
if (empty($dolibarr_main_db_host)) // This means install process was not run
|
||||||
$choice = '<tr class="trlineforchoice">'."\n";
|
{
|
||||||
|
$foundrecommandedchoice = 1; // To show only once
|
||||||
|
}
|
||||||
|
|
||||||
|
// Show line of first install choice
|
||||||
|
$choice = '<tr class="trlineforchoice'.($foundrecommandedchoice ? ' choiceselected' : '').'">'."\n";
|
||||||
$choice .= '<td class="nowrap center"><b>'.$langs->trans("FreshInstall").'</b>';
|
$choice .= '<td class="nowrap center"><b>'.$langs->trans("FreshInstall").'</b>';
|
||||||
$choice .= '</td>';
|
$choice .= '</td>';
|
||||||
$choice .= '<td class="listofchoicesdesc">';
|
$choice .= '<td class="listofchoicesdesc">';
|
||||||
$choice .= $langs->trans("FreshInstallDesc");
|
$choice .= $langs->trans("FreshInstallDesc");
|
||||||
if (empty($dolibarr_main_db_host)) // This means install process was not run
|
if (empty($dolibarr_main_db_host)) // This means install process was not run
|
||||||
{
|
{
|
||||||
$choice .= '<br>';
|
$choice .= '<br>';
|
||||||
//print $langs->trans("InstallChoiceRecommanded",DOL_VERSION,$conf->global->MAIN_VERSION_LAST_UPGRADE);
|
//print $langs->trans("InstallChoiceRecommanded",DOL_VERSION,$conf->global->MAIN_VERSION_LAST_UPGRADE);
|
||||||
$choice .= '<div class="center"><div class="ok">'.$langs->trans("InstallChoiceSuggested").'</div></div>';
|
$choice .= '<div class="center"><div class="ok">'.$langs->trans("InstallChoiceSuggested").'</div></div>';
|
||||||
// <img src="../theme/eldy/img/tick.png" alt="Ok"> ';
|
// <img src="../theme/eldy/img/tick.png" alt="Ok"> ';
|
||||||
$foundrecommandedchoice = 1; // To show only once
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$choice .= '</td>';
|
$choice .= '</td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user