diff options
author | dragosvr92 <rdragos18@yahoo.com> | 2015-05-09 16:41:18 +0300 |
---|---|---|
committer | dragosvr92 <rdragos18@yahoo.com> | 2015-05-09 16:41:18 +0300 |
commit | 345c25c367b7bb6d132a9d260c0066fe9e88f79b (patch) | |
tree | 555ac68ead9b70df3315073eebf92bd3c9da3a63 | |
parent | b3b7f8e925a2af91d578ad4453070cefc02e7a3d (diff) | |
download | forums-345c25c367b7bb6d132a9d260c0066fe9e88f79b.tar forums-345c25c367b7bb6d132a9d260c0066fe9e88f79b.tar.gz forums-345c25c367b7bb6d132a9d260c0066fe9e88f79b.tar.bz2 forums-345c25c367b7bb6d132a9d260c0066fe9e88f79b.tar.xz forums-345c25c367b7bb6d132a9d260c0066fe9e88f79b.zip |
[ticket/13808] search_body_form_before
Extensions may be designed to add secondary search options,
such as Google search in the search_body.html.
There are no events in the searchbody, so this should be merged.
PHPBB3-13808
-rw-r--r-- | phpBB/docs/events.md | 8 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/search_body.html | 1 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/search_body.html | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index c4bfaebb1b..adcecf2cff 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1076,6 +1076,14 @@ quickreply_editor_message_before * Since: 3.1.0-a4 * Purpose: Add content before the quick reply textbox +search_body_form_before +=== +* Locations: + + styles/prosilver/template/search_body.html + + styles/subsilver2/template/search_body.html +* Since: 3.1.5 +* Purpose: Add content before the search form + search_results_header_after === * Locations: diff --git a/phpBB/styles/prosilver/template/search_body.html b/phpBB/styles/prosilver/template/search_body.html index 2f15830eb1..8d56a103d2 100644 --- a/phpBB/styles/prosilver/template/search_body.html +++ b/phpBB/styles/prosilver/template/search_body.html @@ -2,6 +2,7 @@ <h2 class="solo">{L_SEARCH}</h2> +<!-- EVENT search_body_form_before --> <form method="get" action="{S_SEARCH_ACTION}" data-focus="keywords"> <div class="panel"> diff --git a/phpBB/styles/subsilver2/template/search_body.html b/phpBB/styles/subsilver2/template/search_body.html index c0199fbae8..d3aa758b43 100644 --- a/phpBB/styles/subsilver2/template/search_body.html +++ b/phpBB/styles/subsilver2/template/search_body.html @@ -2,6 +2,7 @@ <div id="pagecontent"> + <!-- EVENT search_body_form_before --> <form method="get" action="{S_SEARCH_ACTION}"> <table class="tablebg" width="100%" cellspacing="1"> |