aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorTom Beddard <subblue@users.sourceforge.net>2005-12-30 00:16:43 +0000
committerTom Beddard <subblue@users.sourceforge.net>2005-12-30 00:16:43 +0000
commitd28e3a69ab6c21567108f16393d06f2b82254c48 (patch)
tree07d479c874c14211118144ac09df5c65bd929a8d /phpBB/search.php
parentc31a6d1946f8802c57f88beba0ab5cdc915270aa (diff)
downloadforums-d28e3a69ab6c21567108f16393d06f2b82254c48.tar
forums-d28e3a69ab6c21567108f16393d06f2b82254c48.tar.gz
forums-d28e3a69ab6c21567108f16393d06f2b82254c48.tar.bz2
forums-d28e3a69ab6c21567108f16393d06f2b82254c48.tar.xz
forums-d28e3a69ab6c21567108f16393d06f2b82254c48.zip
Added topic folder image source and user profile link for posts results page
git-svn-id: file:///svn/phpbb/trunk@5399 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 8a4f0f4adc..fcf4eacf0b 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -540,6 +540,7 @@ if ($keywords || $author || $search_id || $search_session_id)
$tpl_ary = array(
'POSTER_NAME' => ($row['poster_id'] == ANONYMOUS) ? ((!empty($row['post_username'])) ? $row['post_username'] : $user->lang['GUEST']) : $row['username'],
+ 'U_PROFILE' => ($row['poster_id'] != ANONYMOUS) ? "{$phpbb_root_path}memberlist.$phpEx$SID&amp;mode=viewprofile&amp;u={$row['poster_id']}" : '',
'POST_SUBJECT' => censor_text($row['post_subject']),
'POST_DATE' => (!empty($row['post_time'])) ? $user->format_date($row['post_time']) : '',
'MESSAGE' => $row['post_text']