fixed html tags
authortausq <>
Sun, 23 Jan 2000 04:36:58 +0000 (04:36 +0000)
committertausq <>
Sun, 23 Jan 2000 04:36:58 +0000 (04:36 +0000)
machines.cgi

index 61e50cd..1bca7f8 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# $Id: machines.cgi,v 1.4 1999/10/01 03:44:20 tausq Exp $
+# $Id: machines.cgi,v 1.5 2000/01/23 05:36:58 tausq Exp $
 
 # (c) 1999 Randolph Chung. Licensed under the GPL. <tausq@debian.org>
 
@@ -128,11 +128,11 @@ if ($output{havehostdata}) {
 } else {
   # display summary info
   $hostdetails = "<h1>Summary</h1>\n";
-  $hostdetails .= "<table border=1 width=90%>\n<th>";
+  $hostdetails .= "<table border=1 width=90%>\n<tr>";
   foreach $key (@summaryorder) {
-    $hostdetails .= "<td>$summaryattrs{$key}</td>";
+    $hostdetails .= "<th>$summaryattrs{$key}</th>";
   }
-  $hostdetails .= "</th>\n";
+  $hostdetails .= "</tr>\n";
   
   foreach $host (sort(keys(%summary))) {
     $hostdetails .= "<tr>";