From 3f60adfc28f87886827084ebce58f041c1967722 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Fri, 7 Oct 2011 20:52:52 -0700 Subject: [PATCH 1/1] fixed some html source code alignement and moved the games table, so it's flush left with the rest of the test --- css/standard.css | 1 + include/game.php | 39 +++++++++++++++++++++------------------ include/output.php | 2 +- 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/css/standard.css b/css/standard.css index 0ca4ad2..593eeb1 100644 --- a/css/standard.css +++ b/css/standard.css @@ -485,6 +485,7 @@ ul.tricks li div div span.comment span{ div.user ul { list-style:none; + padding: 0px; } div.user ul li { 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) diff --git a/include/output.php b/include/output.php index 0331991..1d39074 100644 --- a/include/output.php +++ b/include/output.php @@ -378,7 +378,7 @@ function output_header() - + -- 2.25.1