summaryrefslogtreecommitdiffstats
path: root/include/output.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-01-15 21:40:35 -0800
committerArun Persaud <arun@nubati.net>2009-01-15 21:40:35 -0800
commit4b622dbdb85fbb3512a881ec4786a05f6cd4701c (patch)
treebc3ee3fc89b39fa29c8c74ca38ff1d9d53d36c3d /include/output.php
parent8114e8920b56b4f078d2b3ff8d283cdf4d18c679 (diff)
downloade-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.php5
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)]);