summaryrefslogtreecommitdiffstats
path: root/include/output.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/output.php')
-rw-r--r--include/output.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/output.php b/include/output.php
index 3eb8130..a0b9df3 100644
--- a/include/output.php
+++ b/include/output.php
@@ -96,7 +96,7 @@ function output_form_for_new_game($names)
<?php
}
-function output_table($data,$class="")
+function output_table($data,$caption="",$class="")
{
if($class!="")
$HTML = "\n<table class=\"$class\">\n";
@@ -105,6 +105,9 @@ function output_table($data,$class="")
$i=0;
+ if($caption!="")
+ $HTML .= " <caption> $caption </caption>\n";
+
foreach($data as $record)
{
if(!$i)
@@ -270,7 +273,7 @@ function output_header()
<title>e-Doko</title>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
<link rel="shortcut icon" type="image/x-icon" href="pics/edoko-favicon.png" />
- <link rel="stylesheet" type="text/css" href="css/standard004.css" />
+ <link rel="stylesheet" type="text/css" href="css/standard005.css" />
<script type="text/javascript">
var current=0;
function hl(num) {