From: Arun Persaud Date: Sun, 21 Nov 2010 08:42:28 +0000 (-0800) Subject: fixe placement of comment box in pre-game phase X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=57eb21180762813877b849b1180c846a0654fd93;hp=36eab6602319754c0cba608c8ba3ddfca075abe9 fixe placement of comment box in pre-game phase it now always shows at the bottom of the page as it should ;) --- diff --git a/include/game.php b/include/game.php index cd77bf3..03dd259 100644 --- a/include/game.php +++ b/include/game.php @@ -326,6 +326,7 @@ switch($mystatus) { /* asks the player, if he wants to join the game */ output_check_want_to_play($me); + echo '
'; break; } else @@ -520,6 +521,7 @@ switch($mystatus) /* move on to the next stage*/ DB_set_hand_status_by_hash($me,'check'); + $mystatus='check'; }; }; @@ -834,6 +836,12 @@ switch($mystatus) } } echo "\n"; + /* show cards */ + echo '
'._('Your cards are').":
\n"; + foreach($mycards as $card) + display_card($card,$PREF['cardset']); + echo "
\n"; + break; }