X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=index.php;h=fe674be6b6af6c05cbc87335490c7bf7ad233701;hp=bfa517c4e7abb758172d02b88990c358e94861df;hb=8dccaf34a82b441f9170c556771163e7b4c4e050;hpb=ad48a970a52fc44b65176b951a15b9846a290bab diff --git a/index.php b/index.php index bfa517c..fe674be 100644 --- a/index.php +++ b/index.php @@ -192,8 +192,8 @@ else if(myisset("new")) output_status(); echo "
You started a new game. The emails have been sent out!
\n"; } /* end set up a new game */ -/* cancle a game, if nothing has happend in the last N minutes */ -else if(myisset("cancle","me")) +/* cancel a game, if nothing has happend in the last N minutes */ +else if(myisset("cancel","me")) { output_status(); @@ -204,7 +204,7 @@ else if(myisset("cancle","me")) if(!$myid) { echo "Can't find you in the database, please check the url.
\n"; - echo "perhaps the game has been cancled, check by login in here."; + echo "perhaps the game has been canceled, check by login in here."; output_footer(); DB_close(); exit(); @@ -223,23 +223,23 @@ else if(myisset("cancle","me")) { $message = "Hello, \n\n". "Game ".DB_format_gameid($gameid). - " has been cancled since nothing happend for a while and $myname requested it.\n"; + " has been canceled since nothing happend for a while and $myname requested it.\n"; $userids = DB_get_all_userid_by_gameid($gameid); foreach($userids as $user) { $To = DB_get_email_by_userid($user); - mymail($To,$EmailName."game ".DB_format_gameid($gameid)." cancled (timed out)",$message); + mymail($To,$EmailName."game ".DB_format_gameid($gameid)." canceled (timed out)",$message); } /* delete everything from the dB */ DB_cancel_game($me); echo "

Game ".DB_format_gameid($gameid). - " has been cancled.

"; + " has been canceled.

"; } else - echo "

You need to wait longer before you can cancle a game...

\n"; + echo "

You need to wait longer before you can cancel a game...

\n"; } /* send out a reminder */ else if(myisset("remind","me")) @@ -253,7 +253,7 @@ else if(myisset("remind","me")) if(!$myid) { echo "Can't find you in the database, please check the url.
\n"; - echo "perhaps the game has been cancled, check by login in here."; + echo "perhaps the game has been canceled, check by login in here."; output_footer(); DB_close(); exit(); @@ -307,7 +307,7 @@ else if(myisset("me")) if(!$myid) { echo "Can't find you in the database, please check the url.
\n"; - echo "perhaps the game has been cancled, check by login in here."; + echo "perhaps the game has been canceled, check by login in here."; output_footer(); DB_close(); exit(); @@ -449,7 +449,7 @@ else if(myisset("me")) output_check_for_sickness($me,$mycards); - echo "

your cards are:
\n"; + echo "

Your cards are:
\n"; foreach($mycards as $card) display_card($card,$PREF["cardset"]); echo "

\n"; @@ -1002,7 +1002,7 @@ else if(myisset("me")) echo "Your cards are:
\n"; $mycards = DB_get_hand($me); sort($mycards); - echo "

your cards are:
\n"; + echo "

Your cards are:
\n"; foreach($mycards as $card) display_card($card,$PREF["cardset"]); echo "

\n"; @@ -1021,19 +1021,19 @@ else if(myisset("me")) if($who==5 || $who==50) { $message = "Hello, \n\n". - "Game ".DB_format_gameid($gameid)." has been cancled since nobody wanted to take the trump.\n"; + "Game ".DB_format_gameid($gameid)." has been canceled since nobody wanted to take the trump.\n"; $userids = DB_get_all_userid_by_gameid($gameid); foreach($userids as $user) { $To = DB_get_email_by_userid($user); - mymail($To,$EmailName."game ".DB_format_gameid($gameid)." cancled (poverty not resolved)",$message); + mymail($To,$EmailName."game ".DB_format_gameid($gameid)." canceled (poverty not resolved)",$message); } /* delete everything from the dB */ DB_cancel_game($me); - echo "

Game ".DB_format_gameid($gameid)." has been cancled.

"; + echo "

Game ".DB_format_gameid($gameid)." has been canceled.

"; output_footer(); DB_close(); exit(); @@ -1663,7 +1663,7 @@ else if(myisset("me")) $message .= " ".$r[0]."\n"; $Tpoint --; } - $message .= " Total Points (from Re points of view): $Tpoint\n"; + $message .= " Total Points (from the Re point of view): $Tpoint\n"; $message .= "\n"; /* send out final email */ @@ -2131,7 +2131,7 @@ else if( myisset("email","password") || isset($_SESSION["name"]) ) } if(time()-strtotime($r[2]) > 60*60*24*30) echo "". - "Cancel?". + "Cancel?". " (clicking here is final and can't be restored)"; }