summaryrefslogtreecommitdiffstats
path: root/include/functions.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2011-11-16 21:36:04 -0800
committerArun Persaud <apersaud@lbl.gov>2011-11-16 21:36:04 -0800
commitda63cd918a46e4ce8916c21b0b20bf8ef1bf5a7a (patch)
tree45e66698c1cf5949627efac731624e4a4f10cbc8 /include/functions.php
parentb77b3294e4c74820f1bc036603dd8d3210e0eccc (diff)
downloade-DoKo-da63cd918a46e4ce8916c21b0b20bf8ef1bf5a7a.tar.gz
e-DoKo-da63cd918a46e4ce8916c21b0b20bf8ef1bf5a7a.tar.bz2
e-DoKo-da63cd918a46e4ce8916c21b0b20bf8ef1bf5a7a.zip
BUGFIX: make "It's your turn in ..." a comma separated list
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 0313bed..9d9856b 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1225,13 +1225,17 @@ function display_user_menu($id)
echo "\n<div class=\"usermenu\">\n ";
echo _('It\'s your turn in these games').":\n";
}
+ else
+ {
+ echo ", ";
+ }
$i++;
echo " <a href=\"".$INDEX."?action=game&amp;me=".$r[0].
"\">game ".DB_format_gameid($r[1])." </a>\n";
if($i>4)
{
- echo " ...\n";
+ echo ", ...\n";
break;
}
}