summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-05-29 22:33:18 -0700
committerArun Persaud <arun@nubati.net>2008-05-29 22:33:18 -0700
commit5abed91d19058387ffa2c3667b89eff16a5720e6 (patch)
treec67e39f5b5757fa6f5a3a3273056601f6eb9705f /include
parent0cd4c6af6c46af0be3efa882b50c22ad1de8766b (diff)
downloade-DoKo-5abed91d19058387ffa2c3667b89eff16a5720e6.tar.gz
e-DoKo-5abed91d19058387ffa2c3667b89eff16a5720e6.tar.bz2
e-DoKo-5abed91d19058387ffa2c3667b89eff16a5720e6.zip
BUGFIX: some text was outside a div. also fixed a html issue.
moved the text back inside the div and also changed a & into a &amp; Signed-off-by: Arun Persaud <arun@nubati.net>
Diffstat (limited to 'include')
-rw-r--r--include/functions.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/functions.php b/include/functions.php
index a338f38..eba8bfa 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -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";