]> git.etc.gen.nz Git - spong.git/commitdiff
when $WWW_USE_IMAGES=0 the underline of links weren't the same color as
authorStephen L Johnson <sjohnson@monsters.org>
Wed, 27 Sep 2000 03:26:35 +0000 (03:26 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Wed, 27 Sep 2000 03:26:35 +0000 (03:26 +0000)
the table cells in history tables

src/lib/Spong/History.pm

index 7d1e9d3bbe484efb2b4894db6421a035778a181b..1884d7feabe968eb9ebed6cbcb191a73ec03dfc9 100755 (executable)
@@ -116,7 +116,8 @@ sub display_html {
       print "<table width=20 border=0 cellspacing=0 cellpadding=0><tr>";
       print "<td width=20 bgcolor=\"" . $main::WWW_COLOR{$color} . "\">"; 
       print "<a href=\"" . $main::WWWSPONG . "/histservice/".$self->host()
-         . "/$service/$time\">" if ($main::STATUS_HISTORY);
+          . "/$service/$time\"><font color=\"" . $main::WWW_COLOR{$color}
+          . "\">" if ($main::STATUS_HISTORY);
       print "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
       print "</a>" if $main::STATUS_HISTORY;
       print "</td></tr></table>";