mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-26 21:28:52 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/13066] Add search results core event to modify search title
This commit is contained in:
commit
471c6fa860
1 changed files with 14 additions and 0 deletions
|
@ -1149,6 +1149,20 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||||
}
|
}
|
||||||
unset($rowset);
|
unset($rowset);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Modify the title and/or load data for the search results page
|
||||||
|
*
|
||||||
|
* @event core.search_results_modify_search_title
|
||||||
|
* @var int author_id ID of the author to search by
|
||||||
|
* @var string l_search_title The title of the search page
|
||||||
|
* @var string search_id Predefined search type name
|
||||||
|
* @var string show_results Search results output mode - topics or posts
|
||||||
|
* @var int start The starting id of the results
|
||||||
|
* @since 3.1.0-RC4
|
||||||
|
*/
|
||||||
|
$vars = array('author_id', 'l_search_title', 'search_id', 'show_results', 'start');
|
||||||
|
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']);
|
||||||
|
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue