From 7f9e498e48c4e5d056ee988a23dedb8ca98b11cd Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 11 Mar 2011 18:54:44 +0100 Subject: Fix broken XHTML. Fix a lot of invalid XHTML in the templates and actions. There might still be some legacy code left, but this should cover most of it. Signed-off-by: Lukas Fleischer --- web/html/addvote.php | 16 ++++++++++------ web/html/css/containers.css | 3 +++ web/html/tu.php | 2 +- web/html/voters.php | 2 +- 4 files changed, 15 insertions(+), 8 deletions(-) (limited to 'web/html') diff --git a/web/html/addvote.php b/web/html/addvote.php index 192b396..5936d56 100644 --- a/web/html/addvote.php +++ b/web/html/addvote.php @@ -73,18 +73,22 @@ if ($atype == "Trusted User" OR $atype == "Developer") {
+

-'> +' /> -
+

+

-'> +' /> -
+

+



- -'> + +' /> +

diff --git a/web/html/css/containers.css b/web/html/css/containers.css index db5bd0a..237950f 100644 --- a/web/html/css/containers.css +++ b/web/html/css/containers.css @@ -161,6 +161,9 @@ th.header { border-bottom: #666 1px solid; vertical-align: bottom; } +fieldset { + border: none; +} input, textarea, select { diff --git a/web/html/tu.php b/web/html/tu.php index 65f00c0..941e6ed 100644 --- a/web/html/tu.php +++ b/web/html/tu.php @@ -47,7 +47,7 @@ if ($atype == "Trusted User" OR $atype == "Developer") { $result = db_query($qwhoVoted,$dbh); if (mysql_num_rows($result) > 0) { while ($who = mysql_fetch_assoc($result)) { - $whovoted.= ''.$who['Username'].' '; + $whovoted.= ''.$who['Username'].' '; } } diff --git a/web/html/voters.php b/web/html/voters.php index a3b2469..f4d72f4 100644 --- a/web/html/voters.php +++ b/web/html/voters.php @@ -28,7 +28,7 @@ if ($account == 'Trusted User' || $account == 'Developer') { $uid = $row['UsersID']; $username = $row['Username']; ?> - +