From a474e1481d88562bec729a64760540a0a456629b Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 29 May 2001 18:17:14 +0000 Subject: [PATCH] Added ability to jump to a specific post ... click on the little page post icon git-svn-id: file:///svn/phpbb/trunk@371 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/search.php | 1 + phpBB/templates/PSO/search_results_body.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/search.php b/phpBB/search.php index 7dc9621ede..25f714a585 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -392,6 +392,7 @@ if((isset($HTTP_POST_VARS['dosearch']) || isset($HTTP_GET_VARS['dosearch'])) && $forum_url = append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $searchset[$i]['forum_id']); $topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=" . $searchset[$i]['topic_id']); $poster_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $searchset[$i]['user_id']); + $post_url = append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=".$searchset[$i]['post_id']."#".$searchset[$i]['post_id']); $post_date = create_date($board_config['default_dateformat'], $searchset[$i]['post_time'], $board_config['default_timezone']); diff --git a/phpBB/templates/PSO/search_results_body.tpl b/phpBB/templates/PSO/search_results_body.tpl index 8b73c00360..fd2609d758 100644 --- a/phpBB/templates/PSO/search_results_body.tpl +++ b/phpBB/templates/PSO/search_results_body.tpl @@ -42,7 +42,7 @@ - +
Post image icon{L_POSTED}: {searchresults.POST_DATE}     Post Subject: {searchresults.POST_SUBJECT}
Post image icon{L_POSTED}: {searchresults.POST_DATE}     Post Subject: {searchresults.POST_SUBJECT}
{searchresults.MESSAGE}