From cba12aca2a220fe3e6c205c71048f278c88e0f46 Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Wed, 21 Jan 2015 12:54:41 +0100 Subject: [PATCH] [ticket/13533] Add template core event to search results PHPBB3-13533 --- phpBB/docs/events.md | 24 +++++++++++++++++++ .../prosilver/template/search_results.html | 10 ++++++-- .../subsilver2/template/search_results.html | 6 ++++- 3 files changed, 37 insertions(+), 3 deletions(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 7863814daa..ec160a7d2c 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -932,6 +932,22 @@ quickreply_editor_message_before * Since: 3.1.0-a4 * Purpose: Add content before the quick reply textbox +search_results_header_after +=== +* Locations: + + styles/prosilver/template/search_results.html + + styles/subsilver2/template/search_results.html +* Since: 3.1.4-RC1 +* Purpose: Add content after the header of the search results + +search_results_header_before +=== +* Locations: + + styles/prosilver/template/search_results.html + + styles/subsilver2/template/search_results.html +* Since: 3.1.4-RC1 +* Purpose: Add content before the header of the search results. + search_results_post_after === * Locations: @@ -962,6 +978,14 @@ 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_searchbox_after +=== +* Locations: + + styles/prosilver/template/search_results.html + + styles/subsilver2/template/search_results.html +* Since: 3.1.4-RC1 +* Purpose: Add content right after the searchbox of the search results. + search_results_topic_after === * Locations: diff --git a/phpBB/styles/prosilver/template/search_results.html b/phpBB/styles/prosilver/template/search_results.html index 970a7bcdd1..2767eb85a3 100644 --- a/phpBB/styles/prosilver/template/search_results.html +++ b/phpBB/styles/prosilver/template/search_results.html @@ -1,16 +1,20 @@ + +

{SEARCH_TITLE}{SEARCH_MATCHES}{L_COLON} {SEARCH_WORDS}

{L_SEARCHED_QUERY}{L_COLON} {SEARCHED_QUERY}

{L_IGNORED_TERMS}{L_COLON} {IGNORED_WORDS}

{L_PHRASE_SEARCH_DISABLED}

-

{L_RETURN_TO_TOPIC}

+ -

{L_GO_TO_SEARCH_ADV}

+ + +
@@ -26,6 +30,8 @@
+ +