#!/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>
} 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>";