MantisBT: master-1.3.x 1332b762

Author Committer Branch Timestamp Parent
dregad dregad master-1.3.x 2016-08-09 06:01 master-1.3.x 9a587dd2
Affected Issues  0011964: Configuration of Browser Search Plugin
Changeset

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 0011964

[1] http://www.opensearch.org/Specifications/OpenSearch/1.1

mod - browser_search_plugin.php Diff File
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/display.xml Diff File