From 787e92af6d8af34b9f7b73b80b81346a8ed43888 Mon Sep 17 00:00:00 2001
From: Arun Persaud <arun@nubati.net>
Date: Mon, 11 Oct 2010 20:52:09 -0700
Subject: BUGFIX: fixed some html validation errors

---
 include/functions.php | 8 ++++----
 include/output.php    | 4 ++--
 include/welcome.php   | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/functions.php b/include/functions.php
index 98feae4..af2b3e5 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -938,7 +938,7 @@ function display_table ()
       $lastlogin = strtotime($r[6]);
       date_default_timezone_set($timezone);
       $timenow   = strtotime(date("Y-m-d H:i:s"));
-      $gravatar = "$name<br /><img class=\"gravatar\" title=\"$name\" src=\"http://www.gravatar.com/avatar/".md5(strtolower(trim($email)))."?d=identicon\" />";
+      $gravatar = "$name<br /><img class=\"gravatar\" title=\"$name\" src=\"http://www.gravatar.com/avatar/".md5(strtolower(trim($email)))."?d=identicon\" alt=\"$name's gravatar\" />";
 
 
       echo "  <div class=\"table".($pos-1)."\">\n";
@@ -971,12 +971,12 @@ function display_table ()
 	    $cards    = DB_get_all_hand($userhash);
 	    $trumpNR  = count_trump($cards,'all');
 	    if($trumpNR)
-	      echo "   <img src=\"pics/button/poverty_trump_button.png\" class=\"button\" alt=\"poverty < trump back\" title=\"poverty - trump back\" />";
+	      echo "   <img src=\"pics/button/poverty_trump_button.png\" class=\"button\" alt=\"poverty - trump back\" title=\"poverty - trump back\" />";
 	    else
-	      echo "   <img src=\"pics/button/poverty_notrump_button.png\" class=\"button\" alt=\"poverty <\" title=\"poverty - no trump back\" />";
+	      echo "   <img src=\"pics/button/poverty_notrump_button.png\" class=\"button\" alt=\"poverty - no trump back\" title=\"poverty - no trump back\" />";
 	  }
 	else
-	  echo "   <img src=\"pics/button/poverty_partner_button.png\" class=\"button\" alt=\"poverty >\" title=\"poverty partner\" />";
+	  echo "   <img src=\"pics/button/poverty_partner_button.png\" class=\"button\" alt=\"poverty partner\" title=\"poverty partner\" />";
 
       if($GT=="dpoverty")
 	if($party=="re")
diff --git a/include/output.php b/include/output.php
index f4d3fdf..af9592c 100644
--- a/include/output.php
+++ b/include/output.php
@@ -440,8 +440,8 @@ function output_footer()
  echo " <p class=\"right\"> See the latest changes <a href=\"http://nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=summary\">\n".
     "  via git </a> <br />or download the source via <br />\n'git clone http://nubati.net/git/e-DoKo.git' <br />\n".
     "  <a href=\"http://www.dreamhost.com/green.cgi\">\n".
-    "  <img  border=\"0\" alt=\"Green Web Hosting! This site hosted by DreamHost.\"".
-    "src=\"https://secure.newdream.net/green1.gif\" height=\"32\" width=\"100\" /></a>\n".
+    "  <img alt=\"Green Web Hosting! This site hosted by DreamHost.\"".
+    " src=\"https://secure.newdream.net/green1.gif\" height=\"32\" width=\"100\" /></a>\n".
     "  </p> \n";
   echo "\n";
   echo "</div>\n";
diff --git a/include/welcome.php b/include/welcome.php
index cb601e3..d5c3738 100644
--- a/include/welcome.php
+++ b/include/welcome.php
@@ -99,7 +99,7 @@ if($done==0)
 <?php
   if($OPENIDPATH)
     {?>
-    <hr>
+    <hr />
     <p> Have an OpenID account? Sign in below <br />
     <input type="text" id="openid_url" name="openid_url" size="20" maxlength="50" />
     <input type="submit" class="submitbutton" name="login" value="Sign in" /><br />
-- 
cgit v1.2.3-18-g5258