From 3f60adfc28f87886827084ebce58f041c1967722 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Fri, 7 Oct 2011 20:52:52 -0700 Subject: fixed some html source code alignement and moved the games table, so it's flush left with the rest of the test --- include/game.php | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) (limited to 'include/game.php') diff --git a/include/game.php b/include/game.php index 794ab95..8ab6f31 100644 --- a/include/game.php +++ b/include/game.php @@ -179,46 +179,49 @@ unset($comment); if($session) { echo "
\n"; - echo '
'._('Rules').': '; + echo "
\n "._('Rules').":\n"; switch($RULES['dullen']) { case 'none': - echo " \""._('no\n"; break; + echo " \""._('no\n"; break; case 'firstwins': - echo " \""._('ten\n"; break; + echo " \""._('ten\n"; break; case 'secondwins': - echo " \""._('second\n"; break; + echo " \""._('second\n"; break; } switch($RULES['schweinchen']) { case 'none': - echo " \""._('no\n"; break; case 'both': - echo " \""._('two\n"; break; case 'second': - echo " \"".('second\n"; break; case 'secondaftercall': - echo " \""._('second\n"; break; } switch($RULES['call']) { case '1st-own-card': - echo " \""._('1st-own-card')."\"\n"; break; + echo " \""._('1st-own-card')."\"\n"; break; case '5th-card': - echo " \""._('5th-card')."\"\n"; break; + echo " \""._('5th-card')."\"\n"; break; case '9-cards': - echo " \""._('9-cards')."\"\n"; break; + echo " \""._('9-cards')."\"\n"; break; } - echo "
\n"; - echo ' '._('10ofhearts').": {$RULES['dullen']}
\n"; - echo ' '._('schweinchen').": {$RULES['schweinchen']}
\n"; - echo ' '._('call').": {$RULES['call']}
\n"; - echo ' '._('lowtrump').": {$RULES['lowtrump']}
\n"; - echo "
\n
\n"; + echo "
\n"; + echo ' '._('10ofhearts').": {$RULES['dullen']}
\n"; + echo ' '._('schweinchen').": {$RULES['schweinchen']}
\n"; + echo ' '._('call').": {$RULES['call']}
\n"; + echo ' '._('lowtrump').": {$RULES['lowtrump']}
\n"; + echo "
\n
\n"; /* show score */ @@ -275,7 +278,7 @@ if($session) $next = NULL; /* check for solo, add game type to session number */ - echo "Game $session.$j"; + echo " Game $session.$j"; if($GT !='normal') echo " ($GT)"; if(isset($_SESSION['id']) && $_SESSION['id']==$myid) -- cgit v1.2.3-18-g5258