diff options
author | Dries Buytaert <dries@buytaert.net> | 2000-10-02 07:32:17 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2000-10-02 07:32:17 +0000 |
commit | e7019c257742aeeac1665682786131fb59733a4b (patch) | |
tree | 0d4748ab667b606b2e293f0172463a261475eebd /search.php | |
parent | 7dd86ad68d7ddb073ba62a2414c0e98d817cabc2 (diff) | |
download | brdo-e7019c257742aeeac1665682786131fb59733a4b.tar.gz brdo-e7019c257742aeeac1665682786131fb59733a4b.tar.bz2 |
Changelog
---------
- improved the user information page.
- improved the story submission page.
- fixed comments score bug: '.00' --> 'x.00'
- tried fixing the calendar wrapping - UnConeD, is it fixed now?
- provided a link back to the submission queue after having voted
for a story.
- fixed comment subject bug (and security flaw) by replacing
quotes by ".
- updated theme 'zaphod': fixed 2 bugs.
- updated theme 'marvin': fixed 1 bug and improved the layout so
things wrap (hopefully) better in Windows.
- comments have by default no subject pre-set - if no subject is
provided, the user is warned and when a comment eventually got
submitted without a subject, a subject is composed using the x
first characters of the comment's body.
- improved comments on submit.php
- corrected a typo in the FAQ.
UnConeD
-------
- replace 'article.php' by 'discussion.php'
- comment() still uses old references to account.php: the
parameters you supply to account.php does no longer hold.
You have to update those links to the new syntax.
- commentcontrol() is outdated - copy paste the one of
theme 'marvin' and adjust it to your likings.
Diffstat (limited to 'search.php')
-rw-r--r-- | search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/search.php b/search.php index c84325d58..fb616cab0 100644 --- a/search.php +++ b/search.php @@ -53,7 +53,7 @@ while ($entry = db_fetch_object($result)) { $num++; - $output .= "<P>$num) <B>". format_story_link($entry) ."</B> (". format_plural($entry->comments, "comment", comments) .")<BR><SMALL>by ". format_username($entry->userid) ."</B>, posted on ". format_date($entry->timestamp) .".</SMALL></P>\n"; + $output .= "<P>$num) <B><A HREF=\"discussion.php?id=$entry->id\">$entry->subject</A></B> (". format_plural($entry->comments, "comment", comments) .")<BR><SMALL>by ". format_username($entry->userid) ."</B>, posted on ". format_date($entry->timestamp) .".</SMALL></P>\n"; } if ($num == 0) $output .= "<P>Your search did <B>not</B> match any articles in our database: <UL><LI>Try using fewer words.</LI><LI>Try using more general keywords.</LI><LI>Try using different keywords.</LI></UL></P>\n"; |