summaryrefslogtreecommitdiffstats
path: root/include/game.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-02-25 23:32:18 -0800
committerArun Persaud <arun@nubati.net>2009-02-25 23:32:18 -0800
commit3fd01c7b9fa78fb08ca1ad61c1de850b9a6b9870 (patch)
tree76e0bae285fd1f9bd0768d4fb6b4c07bd0023291 /include/game.php
parentd68b2fa2ea0ef193ca1d9d906a8e8071dd191e77 (diff)
downloade-DoKo-3fd01c7b9fa78fb08ca1ad61c1de850b9a6b9870.tar.gz
e-DoKo-3fd01c7b9fa78fb08ca1ad61c1de850b9a6b9870.tar.bz2
e-DoKo-3fd01c7b9fa78fb08ca1ad61c1de850b9a6b9870.zip
LAYOUT: some messages were not wrapped in a div-tag
and therefore had no class set, so they showed up somewhere on the page and messed up the layout
Diffstat (limited to 'include/game.php')
-rw-r--r--include/game.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/game.php b/include/game.php
index b3f852d..6d47fc9 100644
--- a/include/game.php
+++ b/include/game.php
@@ -746,7 +746,7 @@ switch($mystatus)
}
}
else
- echo " Please, <a href=\"$INDEX?action=game&amp;me=$me\">start</a> the game.<br />\n";
+ echo "<div class=\"message\">Please, <a href=\"$INDEX?action=game&amp;me=$me\">start</a> the game.</div>\n";
}
else
{
@@ -756,7 +756,7 @@ switch($mystatus)
$whoid = DB_get_userid('gameid-position',$gameid,$who);
if($whoid==$myid)
- echo " Please, <a href=\"$INDEX?action=game&amp;me=$me\">start</a> the game.<br />\n";
+ echo "<div class=\"message\">Please, <a href=\"$INDEX?action=game&amp;me=$me\">start</a> the game.</div>\n";
else
{
$whohash = DB_get_hash_from_game_and_pos($gameid,$who);
@@ -871,7 +871,7 @@ switch($mystatus)
}
}
else
- echo " Please, <a href=\"$INDEX?action=game&amp;me=$me\">start</a> the game.<br />\n";
+ echo "<div class=\"message\">Please, <a href=\"$INDEX?action=game&amp;me=$me\">start</a> the game.</div>\n";
}
/* the following is part A) of what needs to be done */
@@ -1063,7 +1063,7 @@ switch($mystatus)
mymail($userid,$subject,$message);
}
}
- echo "<div class=\"message\"> Please, <a href=\"$INDEX?action=game&amp;me=$me\">continue</a> here.</div>\n";
+ echo "<div class=\"message\">Please, <a href=\"$INDEX?action=game&amp;me=$me\">continue</a> here.</div>\n";
}
}
echo "</div>";