Skip to content
Snippets Groups Projects
Commit fbb53705 authored by Steven Wittens's avatar Steven Wittens
Browse files

Category bug fixed.

parent 3238b4f2
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -87,7 +87,7 @@ function abstract($story) { ...@@ -87,7 +87,7 @@ function abstract($story) {
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 @@ function article($story, $reply) { ...@@ -122,7 +122,7 @@ function article($story, $reply) {
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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment