mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 15:17:16 +01:00
[ticket/14066] Add template events to search_body.html
PHPBB3-14066
This commit is contained in:
parent
224efba459
commit
9ef06d67e6
@ -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:
|
||||
|
@ -9,7 +9,9 @@
|
||||
<div class="inner">
|
||||
<h3>{L_SEARCH_QUERY}</h3>
|
||||
|
||||
<!-- EVENT search_body_search_query_before -->
|
||||
<fieldset>
|
||||
<!-- EVENT search_body_search_query_prepend -->
|
||||
<dl>
|
||||
<dt><label for="keywords">{L_SEARCH_KEYWORDS}{L_COLON}</label><br /><span>{L_SEARCH_KEYWORDS_EXPLAIN}</span></dt>
|
||||
<dd><input type="search" class="inputbox" name="keywords" id="keywords" size="40" title="{L_SEARCH_KEYWORDS}" /></dd>
|
||||
@ -20,7 +22,9 @@
|
||||
<dt><label for="author">{L_SEARCH_AUTHOR}{L_COLON}</label><br /><span>{L_SEARCH_AUTHOR_EXPLAIN}</span></dt>
|
||||
<dd><input type="search" class="inputbox" name="author" id="author" size="40" title="{L_SEARCH_AUTHOR}" /></dd>
|
||||
</dl>
|
||||
<!-- EVENT search_body_search_query_append -->
|
||||
</fieldset>
|
||||
<!-- EVENT search_body_search_query_after -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -30,7 +34,9 @@
|
||||
|
||||
<h3>{L_SEARCH_OPTIONS}</h3>
|
||||
|
||||
<!-- EVENT search_body_search_options_before -->
|
||||
<fieldset>
|
||||
<!-- EVENT search_body_search_options_prepend -->
|
||||
<dl>
|
||||
<dt><label for="search_forum">{L_SEARCH_FORUMS}{L_COLON}</label><br /><span>{L_SEARCH_FORUMS_EXPLAIN}</span></dt>
|
||||
<dd><select name="fid[]" id="search_forum" multiple="multiple" size="8" title="{L_SEARCH_FORUMS}">{S_FORUM_OPTIONS}</select></dd>
|
||||
@ -49,9 +55,11 @@
|
||||
<dd><label for="sf3"><input type="radio" name="sf" id="sf3" value="titleonly" /> {L_SEARCH_TITLE_ONLY}</label></dd>
|
||||
<dd><label for="sf4"><input type="radio" name="sf" id="sf4" value="firstpost" /> {L_SEARCH_FIRST_POST}</label></dd>
|
||||
</dl>
|
||||
<!-- EVENT search_body_search_options_append -->
|
||||
|
||||
<hr class="dashed" />
|
||||
|
||||
<!-- EVENT search_body_search_display_options_prepend -->
|
||||
<dl>
|
||||
<dt><label for="show_results1">{L_DISPLAY_RESULTS}{L_COLON}</label></dt>
|
||||
<dd>
|
||||
@ -74,7 +82,9 @@
|
||||
<dt><label>{L_RETURN_FIRST}{L_COLON}</label></dt>
|
||||
<dd><select name="ch" title="{L_RETURN_FIRST}">{S_CHARACTER_OPTIONS}</select> {L_POST_CHARACTERS}</dd>
|
||||
</dl>
|
||||
<!-- EVENT search_body_search_display_options_append -->
|
||||
</fieldset>
|
||||
<!-- EVENT search_body_search_options_after -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -91,7 +101,9 @@
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<!-- EVENT search_body_form_after -->
|
||||
|
||||
<!-- EVENT search_body_recent_search_before -->
|
||||
<!-- IF .recentsearch -->
|
||||
<div class="forumbg forumbg-table">
|
||||
<div class="inner">
|
||||
@ -119,5 +131,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT search_body_recent_search_after -->
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
||||
|
@ -6,9 +6,12 @@
|
||||
<form method="get" action="{S_SEARCH_ACTION}">
|
||||
|
||||
<table class="tablebg" width="100%" cellspacing="1">
|
||||
<!-- DEFINE $COLSPAN = 4 -->
|
||||
<!-- EVENT search_body_search_query_before -->
|
||||
<tr>
|
||||
<th colspan="4">{L_SEARCH_QUERY}</th>
|
||||
<th colspan="{$COLSPAN}">{L_SEARCH_QUERY}</th>
|
||||
</tr>
|
||||
<!-- EVENT search_body_search_query_prepend -->
|
||||
<tr>
|
||||
<td class="row1" colspan="2" width="50%"><b class="genmed">{L_SEARCH_KEYWORDS}{L_COLON} </b><br /><span class="gensmall">{L_SEARCH_KEYWORDS_EXPLAIN}</span></td>
|
||||
<td class="row2" colspan="2" valign="top"><input type="text" style="width: 300px" class="post" name="keywords" size="30" /><br /><input type="radio" class="radio" name="terms" value="all" checked="checked" /> <span class="genmed">{L_SEARCH_ALL_TERMS}</span><br /><input type="radio" class="radio" name="terms" value="any" /> <span class="genmed">{L_SEARCH_ANY_TERMS}</span></td>
|
||||
@ -21,15 +24,21 @@
|
||||
<td class="row1" colspan="2"><b class="genmed">{L_SEARCH_FORUMS}{L_COLON} </b><br /><span class="gensmall">{L_SEARCH_FORUMS_EXPLAIN}</span></td>
|
||||
<td class="row2" colspan="2"><select name="fid[]" multiple="multiple" size="5">{S_FORUM_OPTIONS}</select></td>
|
||||
</tr>
|
||||
<!-- EVENT search_body_search_query_append -->
|
||||
<!-- EVENT search_body_search_query_after -->
|
||||
<!-- EVENT search_body_search_options_before -->
|
||||
<tr>
|
||||
<th colspan="4">{L_SEARCH_OPTIONS}</th>
|
||||
<th colspan="{$COLSPAN}">{L_SEARCH_OPTIONS}</th>
|
||||
</tr>
|
||||
<!-- EVENT search_body_search_options_prepend -->
|
||||
<tr>
|
||||
<td class="row1" width="25%" nowrap="nowrap"><b class="genmed">{L_SEARCH_SUBFORUMS}{L_COLON} </b></td>
|
||||
<td class="row2" width="25%" nowrap="nowrap"><input type="radio" class="radio" name="sc" value="1" checked="checked" /> <span class="genmed">{L_YES}</span> <input type="radio" class="radio" name="sc" value="0" /> <span class="genmed">{L_NO}</span></td>
|
||||
<td class="row1" width="25%" nowrap="nowrap"><b class="genmed">{L_SEARCH_WITHIN}{L_COLON} </b></td>
|
||||
<td class="row2" width="25%" nowrap="nowrap"><input type="radio" class="radio" name="sf" value="all" checked="checked" /> <span class="genmed">{L_SEARCH_TITLE_MSG}</span><br /><input type="radio" class="radio" name="sf" value="msgonly" /> <span class="genmed">{L_SEARCH_MSG_ONLY}</span> <br /><input type="radio" class="radio" name="sf" value="titleonly" /> <span class="genmed">{L_SEARCH_TITLE_ONLY}</span> <br /><input type="radio" class="radio" name="sf" value="firstpost" /> <span class="genmed">{L_SEARCH_FIRST_POST}</span></td>
|
||||
</tr>
|
||||
<!-- EVENT search_body_search_options_append -->
|
||||
<!-- EVENT search_body_search_display_options_prepend -->
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_RESULT_SORT}{L_COLON} </b></td>
|
||||
<td class="row2" nowrap="nowrap">{S_SELECT_SORT_KEY}<br /><input type="radio" class="radio" name="sd" value="a" /> <span class="genmed">{L_SORT_ASCENDING}</span><br /><input type="radio" class="radio" name="sd" value="d" checked="checked" /> <span class="genmed">{L_SORT_DESCENDING}</span></td>
|
||||
@ -42,15 +51,19 @@
|
||||
<td class="row1" nowrap="nowrap"><b class="genmed">{L_RETURN_FIRST}{L_COLON} </b></td>
|
||||
<td class="row2" nowrap="nowrap"><select name="ch">{S_CHARACTER_OPTIONS}</select> <span class="genmed">{L_POST_CHARACTERS}</span></td>
|
||||
</tr>
|
||||
<!-- EVENT search_body_search_display_options_append -->
|
||||
<!-- EVENT search_body_search_options_after -->
|
||||
<tr>
|
||||
<td class="cat" colspan="4" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" name="submit" type="submit" value="{L_SEARCH}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td>
|
||||
<td class="cat" colspan="{$COLSPAN}" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" name="submit" type="submit" value="{L_SEARCH}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<!-- EVENT search_body_form_after -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
<!-- EVENT search_body_recent_search_before -->
|
||||
<!-- IF .recentsearch -->
|
||||
<table class="tablebg" width="100%" cellspacing="1">
|
||||
<tr>
|
||||
@ -67,6 +80,7 @@
|
||||
|
||||
<br clear="all" />
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT search_body_recent_search_after -->
|
||||
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user