diff options
author | Arun Persaud <arun@nubati.net> | 2009-01-15 21:40:35 -0800 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2009-01-15 21:40:35 -0800 |
commit | 4b622dbdb85fbb3512a881ec4786a05f6cd4701c (patch) | |
tree | bc3ee3fc89b39fa29c8c74ca38ff1d9d53d36c3d /include/output.php | |
parent | 8114e8920b56b4f078d2b3ff8d283cdf4d18c679 (diff) | |
download | e-DoKo-4b622dbdb85fbb3512a881ec4786a05f6cd4701c.tar.gz e-DoKo-4b622dbdb85fbb3512a881ec4786a05f6cd4701c.tar.bz2 e-DoKo-4b622dbdb85fbb3512a881ec4786a05f6cd4701c.zip |
NEW FEATURE: new user settings allows people to not be available for new games
Players who set their preference on this setting to 'no' are not considered as players in a new game.
Diffstat (limited to 'include/output.php')
-rw-r--r-- | include/output.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/output.php b/include/output.php index 9564b82..e4a06e8 100644 --- a/include/output.php +++ b/include/output.php @@ -39,8 +39,11 @@ function output_form_for_new_game($names) <div class="table"> <img class="table" src="pics/table.png" alt="table" /> <?php - /* ask for player names */ + + /* ask player for names */ + $i=0; + /* delete players name, since he will be on position D anyway */ unset($copy_names[array_search($_SESSION["name"],$copy_names)]); |