summaryrefslogtreecommitdiffstats
path: root/include/game.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2010-03-13 16:24:21 -0800
committerArun Persaud <arun@nubati.net>2010-03-13 16:24:21 -0800
commite7e541e70a2aabdd399aa9952e0f8dee435b402b (patch)
tree61401297029e44459b28c6e3a7291f9a0d419b9a /include/game.php
parent850378a3e2da48d387dc565cc6e3c2b47f12e34d (diff)
downloade-DoKo-e7e541e70a2aabdd399aa9952e0f8dee435b402b.tar.gz
e-DoKo-e7e541e70a2aabdd399aa9952e0f8dee435b402b.tar.bz2
e-DoKo-e7e541e70a2aabdd399aa9952e0f8dee435b402b.zip
BUGFIX: missing ul-tag in poverty check messed up layout
also removed some div-tags that were not needed
Diffstat (limited to 'include/game.php')
-rw-r--r--include/game.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/game.php b/include/game.php
index 3cc1d65..b94ee90 100644
--- a/include/game.php
+++ b/include/game.php
@@ -668,7 +668,7 @@ switch($mystatus)
mymail($user,$subject,$message);
}
- echo "</div>\n";
+ echo "</div>\n"; /* end div message */
break;
}
else if($poverty==1) /* one person has poverty */
@@ -807,7 +807,7 @@ switch($mystatus)
}
}
else
- echo "<div class=\"message\">Please, <a href=\"$INDEX?action=game&amp;me=$me\">start</a> the game.</div>\n";
+ echo "Please, <a href=\"$INDEX?action=game&amp;me=$me\">start</a> the game.<br />\n";
}
else
{
@@ -817,7 +817,7 @@ switch($mystatus)
$whoid = DB_get_userid('gameid-position',$gameid,$who);
if($whoid==$myid)
- echo "<div class=\"message\">Please, <a href=\"$INDEX?action=game&amp;me=$me\">start</a> the game.</div>\n";
+ echo "Please, <a href=\"$INDEX?action=game&amp;me=$me\">start</a> the game.<br /\n";
else
{
$whohash = DB_get_hash_from_game_and_pos($gameid,$who);
@@ -836,7 +836,7 @@ switch($mystatus)
echo "</div>\n";
break;
}
- echo "</div>\n";
+
case 'poverty':
/* user only gets here in a poverty game, several things have to be handled here:
* A) ask, if user wants to take trump
@@ -894,7 +894,7 @@ switch($mystatus)
/* get information so show the cards that have been handed over in a poverty game */
output_exchanged_cards();
- echo " </div>\n </li>\n"; /* end div trick, end li trick */
+ echo " </div>\n </li>\n</ul>\n\n"; /* end div trick, end li trick , end ul tricks */
}
/* end output pre-game trick */