[ticket/15735] Add search_results_content_after template event

Needed for extensions who adds information at the end of the message
(such as moderator messages).

PHPBB3-15735
This commit is contained in:
Zoddo 2018-07-29 23:57:57 +02:00
parent 614e10888c
commit 5304b7d0b3
No known key found for this signature in database
GPG key ID: 43E8D68722C7D376
2 changed files with 8 additions and 0 deletions

View file

@ -1889,6 +1889,13 @@ search_body_search_query_prepend
* Since: 3.1.7-RC1 * Since: 3.1.7-RC1
* Purpose: Put content at the top of the search query fields set * Purpose: Put content at the top of the search query fields set
search_results_content_after
===
* Locations:
+ styles/prosilver/template/search_results.html
* Since: 3.2.4-RC1
* Purpose: Add content after the message content in search results
search_results_header_after search_results_header_after
=== ===
* Locations: * Locations:

View file

@ -194,6 +194,7 @@
<div class="postbody"> <div class="postbody">
<h3><a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a></h3> <h3><a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a></h3>
<div class="content">{searchresults.MESSAGE}</div> <div class="content">{searchresults.MESSAGE}</div>
<!-- EVENT search_results_content_after -->
</div> </div>
<!-- ENDIF --> <!-- ENDIF -->