summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-05-10 21:42:49 -0700
committerArun Persaud <arun@nubati.net>2008-05-10 21:42:49 -0700
commitd3163cc4ad76ea5608cdef1ec53bfa644485315a (patch)
tree91e889f7e8401bc11b462492fe0c7f0a2514206b
parent880dfb2e715a3770de56fb525f5c90d28a6ccb4c (diff)
downloade-DoKo-d3163cc4ad76ea5608cdef1ec53bfa644485315a.tar.gz
e-DoKo-d3163cc4ad76ea5608cdef1ec53bfa644485315a.tar.bz2
e-DoKo-d3163cc4ad76ea5608cdef1ec53bfa644485315a.zip
LAYOUT: repaired the layout for starting a new game
the table was offset and some text was overlayed by the table. Signed-off-by: Arun Persaud <arun@nubati.net>
-rw-r--r--include/output.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/output.php b/include/output.php
index 397ed64..5f46470 100644
--- a/include/output.php
+++ b/include/output.php
@@ -29,13 +29,11 @@ function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid)
function output_form_for_new_game($names)
{
?>
- <h2> Players </h2>
- <p>Please select four players (or use the randomly pre-selected names)</p>
- <p>Remember: you need to be one of the players ;) </p>
- <form action="index.php?action=new" method="post">
+ <form action="index.php?action=new" method="post">
+ <h2> Select players (Remember: you need to be one of the players) </h2>
<div class="table">
- <img src="pics/table.png" alt="table" />
+ <img class="table" src="pics/table.png" alt="table" />
<?php
/* ask for player names */
$i=0;
@@ -46,7 +44,7 @@ function output_form_for_new_game($names)
$rand = $names[$randkey];
echo "<div class=\"table".$i."\">\n";
$i++;
- echo " Name: \n <select name=\"$player\" size=\"1\" /> \n";
+ echo " <select name=\"$player\" size=\"1\" /> \n";
foreach($names as $name)
{
if($name==$rand)
@@ -60,6 +58,7 @@ function output_form_for_new_game($names)
}
?>
</div>
+
<h2 class="rules"> Rules </h2>
<p> Some areas are grayed out which means that the rule is not implemented yet and therefore cannot be selected </p>
<p> Ten of hearts: