summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-07-06 09:37:30 +0000
committerDries Buytaert <dries@buytaert.net>2000-07-06 09:37:30 +0000
commit4e132c9fd5ee53b5ad7317de6899f1ea2207ab09 (patch)
treea14f584c7dcedf2782d2b4232f90fac117b72c3c /search.php
parent14b12b3a6a97f0b927a3cf6b4dc8c197536d6a4f (diff)
downloadbrdo-4e132c9fd5ee53b5ad7317de6899f1ea2207ab09.tar.gz
brdo-4e132c9fd5ee53b5ad7317de6899f1ea2207ab09.tar.bz2
* _Major_ update of the comments and moderation system: it's a lot more
stream-lined and more compact. There are a few parts I like to optimize prior to heading towards comment moderation. Please test, report bugs and update the footer()-part of your themes a bit (see my theme)!!! -- Dries
Diffstat (limited to 'search.php')
-rw-r--r--search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/search.php b/search.php
index 48e761c0e..c9568165b 100644
--- a/search.php
+++ b/search.php
@@ -57,14 +57,14 @@
$num++;
if ($user) {
- $link = "<A HREF=\"article.php?id=$entry->id";
+ $link = "<A HREF=\"discussion.php?id=$entry->id";
if (isset($user->umode)) { $link .= "&mode=$user->umode"; } else { $link .= "&mode=threaded"; }
if (isset($user->uorder)) { $link .= "&order=$user->uorder"; } else { $link .= "&order=0"; }
if (isset($user->thold)) { $link .= "&thold=$user->thold"; } else { $link .= "&thold=0"; }
$link .= "\">$entry->subject</A>";
}
else {
- $link = "<A HREF=\"article.php?id=$entry->id&mode=threaded&order=1&thold=0\">$entry->subject</A>";
+ $link = "<A HREF=\"discussion.php?id=$entry->id&mode=threaded&order=1&thold=0\">$entry->subject</A>";
}
$output .= "<P>$num) <B>$link</B><BR><SMALL>by <B><A HREF=\"account.php?op=info&uname=$entry->userid\">$entry->userid</A></B>, posted on ". date("l, F d, Y - H:i A", $entry->timestamp) .".</SMALL></P>\n";