mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch '3.1.x'
This commit is contained in:
commit
fb6afde298
1 changed files with 17 additions and 6 deletions
|
@ -1170,14 +1170,25 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||||
* Modify the title and/or load data for the search results page
|
* Modify the title and/or load data for the search results page
|
||||||
*
|
*
|
||||||
* @event core.search_results_modify_search_title
|
* @event core.search_results_modify_search_title
|
||||||
* @var int author_id ID of the author to search by
|
* @var int author_id ID of the author to search by
|
||||||
* @var string l_search_title The title of the search page
|
* @var string l_search_title The title of the search page
|
||||||
* @var string search_id Predefined search type name
|
* @var string search_id Predefined search type name
|
||||||
* @var string show_results Search results output mode - topics or posts
|
* @var string show_results Search results output mode - topics or posts
|
||||||
* @var int start The starting id of the results
|
* @var int start The starting id of the results
|
||||||
|
* @var int total_match_count The count of search results
|
||||||
|
* @var string keywords The search keywords
|
||||||
* @since 3.1.0-RC4
|
* @since 3.1.0-RC4
|
||||||
|
* @changed 3.1.6-RC1 Added total_match_count and keywords
|
||||||
*/
|
*/
|
||||||
$vars = array('author_id', 'l_search_title', 'search_id', 'show_results', 'start');
|
$vars = array(
|
||||||
|
'author_id',
|
||||||
|
'l_search_title',
|
||||||
|
'search_id',
|
||||||
|
'show_results',
|
||||||
|
'start',
|
||||||
|
'total_match_count',
|
||||||
|
'keywords',
|
||||||
|
);
|
||||||
extract($phpbb_dispatcher->trigger_event('core.search_results_modify_search_title', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.search_results_modify_search_title', compact($vars)));
|
||||||
|
|
||||||
page_header(($l_search_title) ? $l_search_title : $user->lang['SEARCH']);
|
page_header(($l_search_title) ? $l_search_title : $user->lang['SEARCH']);
|
||||||
|
|
Loading…
Add table
Reference in a new issue