BUGFIX: make "It's your turn in ..." a comma separated list
authorArun Persaud <arun@nubati.net>
Thu, 17 Nov 2011 05:36:04 +0000 (21:36 -0800)
committerArun Persaud <apersaud@lbl.gov>
Thu, 17 Nov 2011 05:36:04 +0000 (21:36 -0800)
include/functions.php

index 0313bede84ae60526667eb898a932a5e96715751..9d9856bcd4cf15449a59d96b69cf70486c0873a2 100644 (file)
@@ -1225,13 +1225,17 @@ function display_user_menu($id)
          echo "\n<div class=\"usermenu\">\n  ";
          echo _('It\'s your turn in these games').":\n";
        }
          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)
        {
 
       $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;
        }
     }
          break;
        }
     }