BUGFIX: some text was outside a div. also fixed a html issue.
authorArun Persaud <arun@nubati.net>
Fri, 30 May 2008 05:33:18 +0000 (22:33 -0700)
committerArun Persaud <arun@nubati.net>
Fri, 30 May 2008 05:33:18 +0000 (22:33 -0700)
moved the text back inside the div and also changed a & into a &amp;

Signed-off-by: Arun Persaud <arun@nubati.net>
include/functions.php

index a338f388df0bb2822a654f3a13afb27e01d39a3a..eba8bfa4b14c764c66c6204250b84c25eb7304e0 100644 (file)
@@ -854,17 +854,18 @@ function display_user_menu()
                     " AND Game.player='$myid'".
                     " AND Game.status<>'gameover'".
                     " ORDER BY Game.session" );
-  if(DB_num_rows($result))
-      echo "It's your turn in these games:<br />\n";
 
   $i=0;
   while( $r = DB_fetch_array($result))
     {
       if($i==0)
-       echo "<div class=\"usermenu\">\n";
-
+       {
+         echo "<div class=\"usermenu\">\n";
+         echo "It's your turn in these games:<br />\n";
+       }
+      
       $i++;
-      echo "<a href=\"".$INDEX."?action=game&me=".$r[0]."\">game ".DB_format_gameid($r[1])." </a><br />\n";
+      echo "<a href=\"".$INDEX."?action=game&amp;me=".$r[0]."\">game ".DB_format_gameid($r[1])." </a><br />\n";
       if($i>4)
        {
          echo "...<br />\n";