diff options
author | Arun Persaud <arun@nubati.net> | 2011-10-07 20:52:52 -0700 |
---|---|---|
committer | Arun Persaud <apersaud@lbl.gov> | 2011-10-07 20:52:52 -0700 |
commit | 3f60adfc28f87886827084ebce58f041c1967722 (patch) | |
tree | 885444a648f8313805a26e44323d0b96f4278032 | |
parent | 6bb40ad539c14101b609018998d5045e88e2ace4 (diff) | |
download | e-DoKo-3f60adfc28f87886827084ebce58f041c1967722.tar.gz e-DoKo-3f60adfc28f87886827084ebce58f041c1967722.tar.bz2 e-DoKo-3f60adfc28f87886827084ebce58f041c1967722.zip |
fixed some html source code alignement and moved the games table, so it's flush left with the rest of the test
-rw-r--r-- | css/standard.css | 1 | ||||
-rw-r--r-- | include/game.php | 39 | ||||
-rw-r--r-- | 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 "<div class=\"session\">\n"; - echo ' <div class="sessionrules">'._('Rules').': '; + echo " <div class=\"sessionrules\">\n "._('Rules').":\n"; switch($RULES['dullen']) { case 'none': - echo " <img class=\"rulesicon\" alt=\""._('no ten of hearts')."\" src=\"pics/button/no-ten-of-hearts.png\"/>\n"; break; + echo " <img class=\"rulesicon\" alt=\""._('no ten of hearts'). + "\" src=\"pics/button/no-ten-of-hearts.png\"/>\n"; break; case 'firstwins': - echo " <img class=\"rulesicon\" alt=\""._('ten of hearts')."\" src=\"pics/button/ten-of-hearts.png\"/>\n"; break; + echo " <img class=\"rulesicon\" alt=\""._('ten of hearts'). + "\" src=\"pics/button/ten-of-hearts.png\"/>\n"; break; case 'secondwins': - echo " <img class=\"rulesicon\" alt=\""._('second ten of hearts')."\" src=\"pics/button/second-ten-of-hearts.png\"/>\n"; break; + echo " <img class=\"rulesicon\" alt=\""._('second ten of hearts'). + "\" src=\"pics/button/second-ten-of-hearts.png\"/>\n"; break; } switch($RULES['schweinchen']) { case 'none': - echo " <img class=\"rulesicon\" alt=\""._('no schweinchen')."\" ". + echo " <img class=\"rulesicon\" alt=\""._('no schweinchen')."\" ". "src=\"pics/button/no-schweinchen.png\"/>\n"; break; case 'both': - echo " <img class=\"rulesicon\" alt=\""._('two schweinchen')."\" ". + echo " <img class=\"rulesicon\" alt=\""._('two schweinchen')."\" ". "src=\"pics/button/two-schweinchen.png\"/>\n"; break; case 'second': - echo " <img class=\"rulesicon\" alt=\"".('second schweinchen')."\" ". + echo " <img class=\"rulesicon\" alt=\"".('second schweinchen')."\" ". "src=\"pics/button/second-schweinchen.png\"/>\n"; break; case 'secondaftercall': - echo " <img class=\"rulesicon\" alt=\""._('second schweinchen after call')."\" ". + echo " <img class=\"rulesicon\" alt=\""._('second schweinchen after call')."\" ". "src=\"pics/button/second-schweinchen-after-call.png\"/>\n"; break; } switch($RULES['call']) { case '1st-own-card': - echo " <img class=\"rulesicon\" alt=\""._('1st-own-card')."\" src=\"pics/button/1st-own-card.png\"/>\n"; break; + echo " <img class=\"rulesicon\" alt=\""._('1st-own-card')."\" src=\"pics/button/1st-own-card.png\"/>\n"; break; case '5th-card': - echo " <img class=\"rulesicon\" alt=\""._('5th-card')."\" src=\"pics/button/5th-card.png\"/>\n"; break; + echo " <img class=\"rulesicon\" alt=\""._('5th-card')."\" src=\"pics/button/5th-card.png\"/>\n"; break; case '9-cards': - echo " <img class=\"rulesicon\" alt=\""._('9-cards')."\" src=\"pics/button/9-cards.png\"/>\n"; break; + echo " <img class=\"rulesicon\" alt=\""._('9-cards')."\" src=\"pics/button/9-cards.png\"/>\n"; break; } - echo " <div>\n"; - echo ' '._('10ofhearts').": {$RULES['dullen']} <br />\n"; - echo ' '._('schweinchen').": {$RULES['schweinchen']} <br />\n"; - echo ' '._('call').": {$RULES['call']} <br />\n"; - echo ' '._('lowtrump').": {$RULES['lowtrump']} <br />\n"; - echo " </div>\n </div>\n"; + echo " <div>\n"; + echo ' '._('10ofhearts').": {$RULES['dullen']} <br />\n"; + echo ' '._('schweinchen').": {$RULES['schweinchen']} <br />\n"; + echo ' '._('call').": {$RULES['call']} <br />\n"; + echo ' '._('lowtrump').": {$RULES['lowtrump']} <br />\n"; + echo " </div>\n </div>\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() <meta charset="utf-8" /> <link rel="shortcut icon" href="pics/edoko-favicon.png" /> <link rel="stylesheet" href="css/normalize.css?v=1" /> - <link rel="stylesheet" href="css/standard.css?v=34" /> + <link rel="stylesheet" href="css/standard.css?v=35" /> <link rel="stylesheet" media="screen and (max-width: 600px)" href="css/narrow.css?v=2" /> <link rel="stylesheet" href="css/dateinput.css?v=1"/> <script type="text/javascript" src="include/jquery.js"> </script> |