summaryrefslogtreecommitdiffstats
path: root/include/functions.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-11-01 16:51:18 -0700
committerArun Persaud <arun@nubati.net>2008-11-01 16:51:18 -0700
commit53e8cff40ccebaa711fa8aab6dc9af1eb4e5c3a1 (patch)
tree3386d10b04b3b97543dbcc0094c4b305b7745be9 /include/functions.php
parent90498b8b93c1ef403d62a48de9d16635316da219 (diff)
downloade-DoKo-53e8cff40ccebaa711fa8aab6dc9af1eb4e5c3a1.tar.gz
e-DoKo-53e8cff40ccebaa711fa8aab6dc9af1eb4e5c3a1.tar.bz2
e-DoKo-53e8cff40ccebaa711fa8aab6dc9af1eb4e5c3a1.zip
CLEANUP: cleaned up CSS a bit
the bug where you couldn't click on the prev/next button shouldn't show up that often now, since that area is now a bit bigger, but the bug is still there... Signed-off-by: Arun Persaud <arun@nubati.net>
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/functions.php b/include/functions.php
index db7ccad..5c23958 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1052,22 +1052,22 @@ function format_score_table_html($score,$userid)
if(sizeof($score)==0)
return "";
- $output = "<div class=\"scoretable\">\n<table class=\"score\">\n <thead><tr>\n";
+ $output = "<div class=\"scoretable\">\n<table class=\"score\">\n <thead>\n <tr>\n";
/* output header */
- $output.= " <th> No </th>";
+ $output.= " <th> No </th>";
foreach($score[0]['players'] as $id=>$points)
{
$name = DB_get_name('userid',$id); /*TODO*/
$output.= "<th> ".substr($name,0,2)." </th>";
}
- $output.="<th>P</th>\n </tr>\n</thead>\n<tbody>\n";
+ $output.="<th>P</th>\n </tr>\n </thead>\n <tbody>\n";
$i=0;
foreach($score as $game)
{
$i++;
- $output.=" <tr>";
+ $output.=" <tr>";
$userhash = DB_get_hash_from_gameid_and_userid($game['gameid'],$userid);
/* create link to old games only if you are logged in and its your game*/
if(isset($_SESSION['id']) && $_SESSION['id']==$userid)
@@ -1085,7 +1085,7 @@ function format_score_table_html($score,$userid)
$output.="</td></tr>\n";
}
- $output.="</tbody>\n</table></div>\n";
+ $output.=" </tbody>\n</table>\n</div>\n";
return $output;
}