From 9ef06d67e608f017e92dbf79cf9658594cab8d2a Mon Sep 17 00:00:00 2001 From: rxu Date: Wed, 5 Aug 2015 02:57:02 +0700 Subject: [PATCH] [ticket/14066] Add template events to search_body.html PHPBB3-14066 --- phpBB/docs/events.md | 104 ++++++++++++++++++ .../prosilver/template/search_body.html | 13 +++ .../subsilver2/template/search_body.html | 20 +++- 3 files changed, 134 insertions(+), 3 deletions(-) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 385d3bf0e9..92f929fa0a 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1550,6 +1550,14 @@ quickreply_editor_subject_before * Since: 3.1.7-RC1 * Purpose: Add content before the quick reply subject textbox +search_body_form_after +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Add content after the search form + search_body_form_before === * Locations: @@ -1558,6 +1566,102 @@ search_body_form_before * Since: 3.1.5-RC1 * Purpose: Add content before the search form +search_body_recent_search_after +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Add content after the recent search queries list + +search_body_recent_search_before +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Add content before the recent search queries list + +search_body_search_display_options_append +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Put content at the bottom of the search query display options fields set + +search_body_search_display_options_prepend +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Put content at the top of the search query display options fields set + +search_body_search_query_after +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Add content after the search query fields set + +search_body_search_query_append +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Put content at the bottom of the search query fields set + +search_body_search_query_before +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Add content before the search query fields set + +search_body_search_query_prepend +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Put content at the top of the search query fields set + +search_body_search_options_after +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Add content after the search query options fields set + +search_body_search_options_append +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Put content at the bottom of the search query options fields set + +search_body_search_options_before +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Add content before the search query options fields set + +search_body_search_options_prepend +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.7-RC1 +* Purpose: Put content at the top of the search query options fields set + search_results_header_after === * Locations: diff --git a/phpBB/styles/prosilver/template/search_body.html b/phpBB/styles/prosilver/template/search_body.html index 8d56a103d2..618e2680ba 100644 --- a/phpBB/styles/prosilver/template/search_body.html +++ b/phpBB/styles/prosilver/template/search_body.html @@ -9,7 +9,9 @@

{L_SEARCH_QUERY}

+
+

{L_SEARCH_KEYWORDS_EXPLAIN}
@@ -20,7 +22,9 @@

{L_SEARCH_AUTHOR_EXPLAIN}
+
+
@@ -30,7 +34,9 @@

{L_SEARCH_OPTIONS}

+
+

{L_SEARCH_FORUMS_EXPLAIN}
@@ -49,9 +55,11 @@
+
+
@@ -74,7 +82,9 @@
{L_POST_CHARACTERS}
+
+ @@ -91,7 +101,9 @@ + +
@@ -119,5 +131,6 @@
+ diff --git a/phpBB/styles/subsilver2/template/search_body.html b/phpBB/styles/subsilver2/template/search_body.html index d3aa758b43..84ea73ea30 100644 --- a/phpBB/styles/subsilver2/template/search_body.html +++ b/phpBB/styles/subsilver2/template/search_body.html @@ -6,9 +6,12 @@
+ + - + + @@ -21,15 +24,21 @@ + + + - + + + + @@ -42,15 +51,19 @@ + + - +
{L_SEARCH_QUERY}{L_SEARCH_QUERY}
{L_SEARCH_KEYWORDS}{L_COLON}
{L_SEARCH_KEYWORDS_EXPLAIN}

{L_SEARCH_ALL_TERMS}
{L_SEARCH_ANY_TERMS}
{L_SEARCH_FORUMS}{L_COLON}
{L_SEARCH_FORUMS_EXPLAIN}
{L_SEARCH_OPTIONS}{L_SEARCH_OPTIONS}
{L_SEARCH_SUBFORUMS}{L_COLON} {L_YES}   {L_NO} {L_SEARCH_WITHIN}{L_COLON} {L_SEARCH_TITLE_MSG}
{L_SEARCH_MSG_ONLY}
{L_SEARCH_TITLE_ONLY}
{L_SEARCH_FIRST_POST}
{L_RESULT_SORT}{L_COLON} {S_SELECT_SORT_KEY}
{L_SORT_ASCENDING}
{L_SORT_DESCENDING}
{L_RETURN_FIRST}{L_COLON} {L_POST_CHARACTERS}
{S_HIDDEN_FIELDS}  {S_HIDDEN_FIELDS}  
+
+ @@ -67,6 +80,7 @@
+