summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2010-11-21 00:42:28 -0800
committerArun Persaud <arun@nubati.net>2010-11-21 00:42:28 -0800
commit57eb21180762813877b849b1180c846a0654fd93 (patch)
treec8b4d7d032b11cc0448f7820a99c9cda0286a042
parent36eab6602319754c0cba608c8ba3ddfca075abe9 (diff)
downloade-DoKo-57eb21180762813877b849b1180c846a0654fd93.tar.gz
e-DoKo-57eb21180762813877b849b1180c846a0654fd93.tar.bz2
e-DoKo-57eb21180762813877b849b1180c846a0654fd93.zip
fixe placement of comment box in pre-game phase
it now always shows at the bottom of the page as it should ;)
-rw-r--r--include/game.php8
1 files changed, 8 insertions, 0 deletions
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 '<div class="mycards"></div>';
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 "</div>\n";
+ /* show cards */
+ echo '<div class="mycards">'._('Your cards are').": <br />\n";
+ foreach($mycards as $card)
+ display_card($card,$PREF['cardset']);
+ echo "</div>\n";
+
break;
}