- 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
This commit is contained in:
Dominik Dröscher 2007-01-03 20:10:53 +00:00
parent 826a045ddd
commit 2851b9ea80
2 changed files with 13 additions and 2 deletions

View file

@ -45,6 +45,8 @@ $lang = array_merge($lang, array(
'IGNORED_TERMS' => 'ignored',
'IGNORED_TERMS_EXPLAIN' => 'The following words in your search query were ignored: <strong>%s</strong>',
'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.',

View file

@ -91,7 +91,16 @@
<td height="25">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="gensmall"><div style="float:left">&nbsp;<b>{L_POST_SUBJECT}:</b> <a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a></div><div style="float:right"><a href="{searchresults.U_VIEW_POST}">{searchresults.MINI_POST_IMG}</a><b>{L_POSTED}:</b> {searchresults.POST_DATE}&nbsp;</div></td>
<td class="gensmall">
<div style="float:left">
<!-- IF searchresults.POST_SUBJECT neq "" -->
&nbsp;<b>{L_POST_SUBJECT}:</b> <a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a>
<!-- ELSE -->
[ <a href="{searchresults.U_VIEW_POST}">{L_JUMP_TO_POST}</a> ]
<!-- ENDIF -->
</div>
<div style="float:right"><b>{L_POSTED}:</b> {searchresults.POST_DATE}&nbsp;</div>
</td>
</tr>
</table>
</td>