X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=231f8f691cc2a39cfa821bcde88b847956c37bda;hp=485daf99227f6c11bd1135899b6549055175cc87;hb=d661e260855977d34672388cfa8766de55a73f93;hpb=f5b744e4894d01e50cb7d20244ec344e87d1f677 diff --git a/include/output.php b/include/output.php index 485daf9..231f8f6 100644 --- a/include/output.php +++ b/include/output.php @@ -114,12 +114,17 @@ function output_form_for_new_game($names) \n"; - else - $HTML = "\n\n"; + $HTML.= " class=\"$class\""; + if($id!="") + $HTML.= " id=\"$id\""; + + $HTML.=">\n"; $i=0; @@ -133,10 +138,7 @@ function output_table($data,$caption="",$class="") else { if($i==1) $HTML .= " \n"; - if($i % 2) - $HTML .= " "; - else - $HTML .= " "; + $HTML .= " "; } foreach($record as $point) { @@ -298,8 +300,16 @@ function output_header() e-Doko - + + + +