From a38183cf36a31f4372a5e37d09c6312a9fa267f7 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Mon, 31 Dec 2012 15:45:15 +0000 Subject: 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. --- include/game.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/game.php') 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); } } -- cgit v1.2.3-18-g5258