some small bugfixes
authorarun <arun@nubati.net>
Fri, 12 Jan 2007 16:00:56 +0000 (16:00 +0000)
committerarun <arun>
Fri, 12 Jan 2007 16:00:56 +0000 (16:00 +0000)
functions.php
index.php
output.php

index ec7dfacbf67d247a8ada7f713732d468bdd9f2fe..221bea8f2d028d2ad6066e1a13928503b5b2c9cb 100644 (file)
@@ -26,8 +26,8 @@ function myisset()
   foreach($args as $arg)
     {
       $ok = $ok * isset($_REQUEST[$arg]);
-      /* echo "$arg: ok = $ok <br />";
-       */
+      /*echo "$arg: ok = $ok <br />";
+       */ 
     }
   return $ok;
 }
index 5bc9e4526803a8828d3b02f3f238e72ac063014b..4f60b89ca0f396b7433857e614a29d8daf63282a 100644 (file)
--- a/index.php
+++ b/index.php
@@ -107,7 +107,9 @@ else if( myisset("PlayerA", "PlayerB","PlayerC","PlayerD" ))
     mymail($EmailB,"You are invited to a game of DoKo","Hello $PlayerB,\n".$message.$hashB);
     mymail($EmailC,"You are invited to a game of DoKo","Hello $PlayerC,\n".$message.$hashC);
     mymail($EmailD,"You are invited to a game of DoKo","Hello $PlayerD,\n".$message.$hashD);
-        
+
+    
+    echo "You started a new game. The emails have been sent out!";    
   }    
 /* end set up a new game */
 
index 21ce2fc14e03145139681cba6edfcd2e658c5d0f..32dbd7b86bce476577aae389e90696bc9125875e 100644 (file)
@@ -16,9 +16,9 @@ function display_news()
   global $wiki;
   echo "<div class=\"bug\">\n".
     "  Please hit <strong>shift+reload</strong>.<br /><hr />\n".
-    "  the table and the names are now always shown. <br /><hr />".
-    "  If you find more bugs, please list them in the <a href=\"".$wiki.
-    "\">wiki</a>.\n</div>\n";
+    "  The server now keeps score... (only from now on) <br /><hr />".
+    "  If you find more bugs, please list them in the <a href=\"".
+    $wiki."\">wiki</a>.\n</div>\n";
   return;
 }