diff options
author | Arun Persaud <arun@nubati.net> | 2011-11-13 20:09:25 -0800 |
---|---|---|
committer | Arun Persaud <apersaud@lbl.gov> | 2011-11-13 21:59:44 -0800 |
commit | 2bd1c94dd7e712bb2cc8e2c16fb317bd0169c59c (patch) | |
tree | ec431577795766ba4df451d04b2271719542fba2 /include/functions.php | |
parent | 9597b99442a783621315839880966d68a2fd460f (diff) | |
download | e-DoKo-2bd1c94dd7e712bb2cc8e2c16fb317bd0169c59c.tar.gz e-DoKo-2bd1c94dd7e712bb2cc8e2c16fb317bd0169c59c.tar.bz2 e-DoKo-2bd1c94dd7e712bb2cc8e2c16fb317bd0169c59c.zip |
LAYOUT: move display of cards below switch for mystatus
This should make for a more consistent html layout and fix some issues that show up on different browsers and display sizes.
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index 0653ce4..ddac182 100644 --- a/include/functions.php +++ b/include/functions.php @@ -86,6 +86,21 @@ define("GAME_RECOVERY", 8); define("GAME_REMINDER", 9); define("GAME_NEW", 10); +/* define possible status for showing cards */ + +define("CARDS_EMPTY", 0); /* show player's hand*/ +define("CARDS_SHOW", 1); /* show player's hand*/ +define("CARDS_MYTURN", 2); /* show radiobuttons for cards that can be played*/ +define("CARDS_EXCHANGE", 3); /* do we need to return cards to our partner in poverty?*/ +define("CARDS_GAMEOVER_ME", 4); /* show all cards from everyone*/ +define("CARDS_GAMEOVER", 5); /* show all cards from everyone (looking at someone else's game)*/ + + /* cards_status: SHOW show our hand + * MYTURN show radiobutton for cards that can be played + * EXCHANGE do we need to return cards to our partner in poverty? + * GAMEOVER show all cards from everyone + */ + function mymail($uid,$gameid=0,$type,$message) { global $EmailName,$WIKI; |