diff options
| -rw-r--r-- | phpBB/docs/events.md | 16 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/search_results.html | 2 | ||||
| -rw-r--r-- | phpBB/styles/subsilver2/template/search_results.html | 2 | 
3 files changed, 20 insertions, 0 deletions
| diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 66b558a665..4a6a1895dd 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -601,6 +601,22 @@ search_results_postprofile_before  * Since: 3.1.0-b3  * Purpose: Add content directly before the post author in search results (posts view mode) +search_results_topic_after +=== +* Locations: +    + styles/prosilver/template/search_results.html +    + styles/subsilver2/template/search_results.html +* Since: 3.1.0-b4 +* Purpose: Add data after search result topics + +search_results_topic_before +=== +* Locations: +    + styles/prosilver/template/search_results.html +    + styles/subsilver2/template/search_results.html +* Since: 3.1.0-b4 +* Purpose: Add data before search result topics +  simple_footer_after  ===  * Locations: diff --git a/phpBB/styles/prosilver/template/search_results.html b/phpBB/styles/prosilver/template/search_results.html index fe0b0362ce..41af5a5183 100644 --- a/phpBB/styles/prosilver/template/search_results.html +++ b/phpBB/styles/prosilver/template/search_results.html @@ -58,6 +58,7 @@  		<ul class="topiclist topics">  		<!-- BEGIN searchresults --> +			<!-- EVENT search_results_topic_before -->  			<li class="row<!-- IF searchresults.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">  				<dl class="icon {searchresults.TOPIC_IMG_STYLE}">  					<dt <!-- IF searchresults.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{searchresults.TOPIC_FOLDER_IMG_ALT}"> @@ -97,6 +98,7 @@  					</dd>  				</dl>  			</li> +			<!-- EVENT search_results_topic_after -->  		<!-- END searchresults -->  		</ul> diff --git a/phpBB/styles/subsilver2/template/search_results.html b/phpBB/styles/subsilver2/template/search_results.html index ff34055b29..319e37d710 100644 --- a/phpBB/styles/subsilver2/template/search_results.html +++ b/phpBB/styles/subsilver2/template/search_results.html @@ -26,6 +26,7 @@  		<th nowrap="nowrap"> {L_LAST_POST} </th>  	</tr>  	<!-- BEGIN searchresults --> +		<!-- EVENT search_results_topic_before -->  		<tr valign="middle">  			<td class="row1" width="25" align="center">{searchresults.TOPIC_FOLDER_IMG}</td>  			<td class="row1" width="25" align="center"> @@ -71,6 +72,7 @@  				</p>  			</td>  		</tr> +		<!-- EVENT search_results_topic_after -->  	<!-- BEGINELSE -->  		<tr valign="middle">  			<td colspan="7" class="row3" align="center">{L_NO_SEARCH_RESULTS}</td> | 
