From: Arun Persaud Date: Fri, 7 Oct 2011 04:27:21 +0000 (-0700) Subject: make list of tricks and what game and session we are more compact. X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05708aa3f4cea507b916ed651c8393553d0121f7;p=e-DoKo.git make list of tricks and what game and session we are more compact. Also add game type in description for all games, but "normal" ones (which should include silent solos --- diff --git a/include/game.php b/include/game.php index dcabc67..794ab95 100644 --- a/include/game.php +++ b/include/game.php @@ -274,16 +274,20 @@ if($session) else $next = NULL; + /* check for solo, add game type to session number */ + echo "Game $session.$j"; + if($GT !='normal') + echo " ($GT)"; if(isset($_SESSION['id']) && $_SESSION['id']==$myid) { if($previous) - echo ""._('previous game')."    \n"; - echo "This is game number $j of $i in session $session.\n"; + echo "   "._('previous')." \n"; if($next) - echo "   "._('next game')." \n"; + echo "   "._('next')." \n"; } - else - echo "This is game number $j of $i in session $session."; + if($j != $i ) + echo "   last \n"; + echo "\n\n"; } @@ -399,7 +403,6 @@ switch($mystatus) { /* output sickness of other playes, in case the already selected and are sitting in front of the current player */ echo "\n