From 7c99cfc06ce52d8f5b76da654963dbaa34294edb Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Wed, 4 Jan 2012 11:44:15 +0100
Subject: [PATCH] W3C

---
 htdocs/install/check.php   | 14 +++++++-------
 htdocs/install/default.css | 10 ++++++++++
 2 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/htdocs/install/check.php b/htdocs/install/check.php
index 9e08366394b..bb2f7725810 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 00a6cea1fe0..7ff6bbe3965 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;
-- 
GitLab