diff options
author | Zoddo <git@zoddo.fr> | 2018-07-29 23:57:57 +0200 |
---|---|---|
committer | Zoddo <git@zoddo.fr> | 2018-07-30 00:18:57 +0200 |
commit | 5304b7d0b31caa3913fbdfae0957b1493e56753e (patch) | |
tree | 1b6ba0f19e5438269e2de598553ea967dbb39d53 /phpBB | |
parent | 614e10888cb77cfb03cf18cbe8fdfeaa25485499 (diff) | |
download | forums-5304b7d0b31caa3913fbdfae0957b1493e56753e.tar forums-5304b7d0b31caa3913fbdfae0957b1493e56753e.tar.gz forums-5304b7d0b31caa3913fbdfae0957b1493e56753e.tar.bz2 forums-5304b7d0b31caa3913fbdfae0957b1493e56753e.tar.xz forums-5304b7d0b31caa3913fbdfae0957b1493e56753e.zip |
[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
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/docs/events.md | 7 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/search_results.html | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 469af2759f..2f4c47e6d8 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1889,6 +1889,13 @@ search_body_search_query_prepend * Since: 3.1.7-RC1 * 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 === * Locations: diff --git a/phpBB/styles/prosilver/template/search_results.html b/phpBB/styles/prosilver/template/search_results.html index 6bc5c72a87..b6755e3d4a 100644 --- a/phpBB/styles/prosilver/template/search_results.html +++ b/phpBB/styles/prosilver/template/search_results.html @@ -194,6 +194,7 @@ <div class="postbody"> <h3><a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a></h3> <div class="content">{searchresults.MESSAGE}</div> + <!-- EVENT search_results_content_after --> </div> <!-- ENDIF --> |