LAYOUT: fixed layout bugs due to newer version of jquery
[e-DoKo.git] / include / newgame.php
index 68e0d155cd2743aae0e976b19a9f758e0c2522de..b29cc56a7aa92adab30f80142e0d02d18cffcf78 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-/* Copyright 2006, 2007, 2008, 2009, 2010 Arun Persaud <arun@nubati.net>
+/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arun Persaud <arun@nubati.net>
  *
  *   This file is part of e-DoKo.
  *
@@ -42,6 +42,7 @@ else
 
     if( !myisset("PlayerA", "PlayerB","PlayerC","PlayerD","dullen","schweinchen","callrule","lowtrump" ))
       {
+        display_user_menu($myid);
        /* only get players that want to be in new games */
        $names = DB_get_all_user_names_open_for_games();
 
@@ -56,7 +57,6 @@ else
        output_form_for_new_game($names);
        echo "</div>\n";
 
-        display_user_menu($myid);
       }
     else
       {