diff options
author | Arun Persaud <arun@nubati.net> | 2012-12-31 15:45:15 +0000 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2012-12-31 16:45:33 +0000 |
commit | a38183cf36a31f4372a5e37d09c6312a9fa267f7 (patch) | |
tree | c8caa793dc59117434e8ff542b50546898363757 /include/game.php | |
parent | aeb9ef98850e762291bc6a1d39b31d1ac4db4817 (diff) | |
download | e-DoKo-a38183cf36a31f4372a5e37d09c6312a9fa267f7.tar.gz e-DoKo-a38183cf36a31f4372a5e37d09c6312a9fa267f7.tar.bz2 e-DoKo-a38183cf36a31f4372a5e37d09c6312a9fa267f7.zip |
set languages can also be used by UID now; make mymail langauge sensitive
mymail used to use the language of the person triggering the email.
Diffstat (limited to 'include/game.php')
-rw-r--r-- | include/game.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/game.php b/include/game.php index d116049..177b7f3 100644 --- a/include/game.php +++ b/include/game.php @@ -57,11 +57,10 @@ $playid = DB_get_current_playid($gameid); /* might be -1 at beginning of the g /* get prefs and save them in a variable*/ $PREF = DB_get_PREF(isset($_SESSION['id'])?$_SESSION['id']:$myid); -/* set language chosen in preferences, will become active on the next reload (see index.php)*/ +/* set language chosen in preferences */ $_SESSION['language'] = $PREF['language']; set_language($PREF['language']); - /* get rule set for this game */ $RULES = DB_get_RULES($gameid); @@ -1911,7 +1910,7 @@ switch($mystatus) $link = "$name: ".$HOST.$INDEX."?action=game&me=".$hash."\n" ; $email_message .= $link; } - $email_message .= "\n\n (you can use reply all on this email to reach all the players.)\n\n"; + $email_message .= "\n\n (use in-game comments to reach all players)\n\n"; mymail($userids,$gameid, GAME_OVER, $email_message); } } |