diff --git a/htdocs/install/check.php b/htdocs/install/check.php index 9e08366394b6f7bedb827910b3307303bedc6d32..bb2f7725810eef7a28965aec6c9be6a425b7e9c3 100644 --- a/htdocs/install/check.php +++ b/htdocs/install/check.php @@ -331,12 +331,12 @@ else // Array of install choices - print '<table width="100%" border="1" cellpadding="2">'; + print '<table width="100%" class="listofchoices">'; // Show first install line - print '<tr><td nowrap="nowrap" align="center"><b>'.$langs->trans("FreshInstall").'</b>'; + print '<tr class="listofchoices"><td class="listofchoices" nowrap="nowrap" align="center"><b>'.$langs->trans("FreshInstall").'</b>'; print '</td>'; - print '<td>'; + print '<td class="listofchoices">'; print $langs->trans("FreshInstallDesc"); if (empty($dolibarr_main_db_host)) // This means install process was not run { @@ -347,7 +347,7 @@ else $foundrecommandedchoice=1; // To show only once } print '</td>'; - print '<td align="center">'; + print '<td class="listofchoices" align="center">'; if ($allowinstall) { print '<a href="fileconf.php?selectlang='.$setuplang.'">'.$langs->trans("Start").'</a>'; @@ -393,8 +393,8 @@ else $version=preg_split('/[\.-]/',DOL_VERSION); $newversionfrombis=''; if (versioncompare($dolibarrversiontoarray,$version) < -2) $newversionfrombis='/'.$versionto; - print '<tr><td nowrap="nowrap" align="center"><b>'.$langs->trans("Upgrade").'<br>'.$newversionfrom.' -> '.$newversionto.'</b></td>'; - print '<td>'; + print '<tr class="listofchoices"><td class="listofchoices" nowrap="nowrap" align="center"><b>'.$langs->trans("Upgrade").'<br>'.$newversionfrom.' -> '.$newversionto.'</b></td>'; + print '<td class="listofchoices">'; print $langs->trans("UpgradeDesc"); if ($ok) { @@ -421,7 +421,7 @@ else } } print '</td>'; - print '<td align="center">'; + print '<td class="listofchoices" align="center">'; if ($allowupgrade) { // If it's not last updagre script, action = upgrade_tmp, if last action = upgrade diff --git a/htdocs/install/default.css b/htdocs/install/default.css index 00a6cea1fe0e92517f50826893d2ba7027dd7564..7ff6bbe39655bb2116c0dacd8d14bd63db312ae4 100644 --- a/htdocs/install/default.css +++ b/htdocs/install/default.css @@ -76,6 +76,16 @@ margin-top: 10px; color: #000000; } +table.listofchoices, tr.listofchoices, td.listofchoices { +border-collapse: collapse; +padding-top: 4px; +padding-bottom: 4px; +padding-left: 4px; +padding-right: 4px; +color: #000000; +border: 1px solid #888888 !important; +} + .installchoices table tr td { margin-left: 2px; margin-right: 2px;