summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorarun <arun@nubati.net>2007-02-03 03:46:41 +0000
committerarun <arun>2007-02-03 03:46:41 +0000
commit686b0be45302319f7f30d38d129cee68ebfc12bf (patch)
treec617feeb1af31e3922e76755bfff5f6b425d10a5 /index.php
parent87619b20d23599acf4132d2f36555ffeda35f775 (diff)
downloade-DoKo-686b0be45302319f7f30d38d129cee68ebfc12bf.tar.gz
e-DoKo-686b0be45302319f7f30d38d129cee68ebfc12bf.tar.bz2
e-DoKo-686b0be45302319f7f30d38d129cee68ebfc12bf.zip
better selection of players for new game
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/index.php b/index.php
index 9842041..23262b9 100644
--- a/index.php
+++ b/index.php
@@ -22,8 +22,10 @@ output_header();
/* check if we want to start a new game */
if(myisset("new"))
- output_form_for_new_game();
-
+{
+ $names = DB_get_all_names();
+ output_form_for_new_game($names);
+}
/*check if everything is ready to set up a new game */
else if( myisset("PlayerA", "PlayerB","PlayerC","PlayerD" ))
{