Category bug fixed.

3-00
Steven Wittens 2001-01-04 15:27:26 +00:00
parent 3238b4f272
commit fbb5370581
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@
else { print "<SMALL>Posted by $anonymous on $timestamp"; } else { print "<SMALL>Posted by $anonymous on $timestamp"; }
if ($story->department) { print " - from the $story->department dept."; } if ($story->department) { print " - from the $story->department dept."; }
print "</SMALL>"; print "</SMALL>";
if ($story->category) { print "</TD><TD BGCOLOR=\"$this->bgcolor2\" ALIGN=\"center\"><B><A HREF=\"search.php?category=$story->category\"><FONT COLOR=\"$this->categorycolor\">$story->category</FONT></A></B>"; } if ($story->category) { print "</TD><TD BGCOLOR=\"$this->bgcolor2\" ALIGN=\"center\"><B><A HREF=\"search.php?category=" . urlencode($story->category) . "\"><FONT COLOR=\"$this->categorycolor\">$story->category</FONT></A></B>"; }
?> ?>
</TD> </TD>
</TR> </TR>
@ -122,7 +122,7 @@
else { print "<SMALL>Posted by $anonymous on $timestamp"; } else { print "<SMALL>Posted by $anonymous on $timestamp"; }
if ($story->department) { print " - from the $story->department dept."; } if ($story->department) { print " - from the $story->department dept."; }
print "</SMALL>"; print "</SMALL>";
if ($story->category) { print "</TD><TD BGCOLOR=\"$this->bgcolor3\" ALIGN=\"center\"><B><A HREF=\"search.php?category=$story->category\"><FONT COLOR=\"$this->categorycolor\">$story->category</FONT></A></B>"; } if ($story->category) { print "</TD><TD BGCOLOR=\"$this->bgcolor3\" ALIGN=\"center\"><B><A HREF=\"search.php?category=" . urlencode($story->category) . "\"><FONT COLOR=\"$this->categorycolor\">$story->category</FONT></A></B>"; }
?> ?>
</TD> </TD>
</TR> </TR>