From 2851b9ea80318e056486785a0a5e1d2ee33ec3de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Dr=C3=B6scher?= Date: Wed, 3 Jan 2007 20:10:53 +0000 Subject: [PATCH] #6712 - Posts in search results with empty subjects get a Jump to post message git-svn-id: file:///svn/phpbb/trunk@6836 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/language/en/search.php | 2 ++ phpBB/styles/subSilver/template/search_results.html | 13 +++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/phpBB/language/en/search.php b/phpBB/language/en/search.php index cd7b8c50e5..b932cd8ccb 100644 --- a/phpBB/language/en/search.php +++ b/phpBB/language/en/search.php @@ -45,6 +45,8 @@ $lang = array_merge($lang, array( 'IGNORED_TERMS' => 'ignored', 'IGNORED_TERMS_EXPLAIN' => 'The following words in your search query were ignored: %s', + 'JUMP_TO_POST' => 'Jump to post', + 'NO_KEYWORDS' => 'You must specify at least one word to search for. Each word must consist of at least %d characters and must not contain more than %d characters excluding wildcards.', 'NO_RECENT_SEARCHES' => 'No searches have been carried out recently', 'NO_SEARCH' => 'Sorry but you are not permitted to use the search system.', diff --git a/phpBB/styles/subSilver/template/search_results.html b/phpBB/styles/subSilver/template/search_results.html index ea880d3642..79853b83af 100644 --- a/phpBB/styles/subSilver/template/search_results.html +++ b/phpBB/styles/subSilver/template/search_results.html @@ -84,14 +84,23 @@ {searchresults.L_IGNORE_POST} -

 {L_FORUM}: {searchresults.FORUM_TITLE}{L_GLOBAL}   {L_TOPIC}: {searchresults.TOPIC_TITLE}

+

 {L_FORUM}: {searchresults.FORUM_TITLE}{L_GLOBAL}   {L_TOPIC}: {searchresults.TOPIC_TITLE}

{searchresults.POST_AUTHOR_FULL} - +
 {L_POST_SUBJECT}: {searchresults.POST_SUBJECT}
{searchresults.MINI_POST_IMG}{L_POSTED}: {searchresults.POST_DATE} 
+
+ +  {L_POST_SUBJECT}: {searchresults.POST_SUBJECT} + + [ {L_JUMP_TO_POST} ] + +
+
{L_POSTED}: {searchresults.POST_DATE} 
+