Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow custom prefix for Browser Search entries
Prior to this, the prefix for OpenSearch entries generated by browser_search_plugin.php was hardcoded to 'MantisBT'. This defines a new '$g_search_title' config option (which defaults to the value of $g_window_title) to be used as prefix, allowing - administrators to customize the name of their browser search entries - users to have distinct search engines for multiple MantisBT instances $g_search_title should be shorter than 8 chars to be compliant with the maximum size of 16 chars for the ShortName element as per OpenSearch specification [1] Fixes #11964 [1] http://www.opensearch.org/Specifications/OpenSearch/1.1
- Loading branch information
Showing
3 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters