summaryrefslogtreecommitdiffstats
path: root/extensions/Example
diff options
context:
space:
mode:
authorAlbert Ting <altlist@gmail.com>2013-02-16 23:44:08 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2013-02-16 23:44:08 +0100
commit331fee414c98ff0eda46173bf2ebb700295461e7 (patch)
tree7ff24b69908f979335cfb67a8bad8aad72642456 /extensions/Example
parent91a5a96b0b9890808fe888b60ba552cb49d874a8 (diff)
downloadbugzilla-331fee414c98ff0eda46173bf2ebb700295461e7.tar.gz
bugzilla-331fee414c98ff0eda46173bf2ebb700295461e7.tar.xz
Bug 836436: Add a "search_tabs" hook to allow additional search tabs
r/a=LpSolit
Diffstat (limited to 'extensions/Example')
-rw-r--r--extensions/Example/template/en/default/hook/search/tabs-search_tabs.html.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/extensions/Example/template/en/default/hook/search/tabs-search_tabs.html.tmpl b/extensions/Example/template/en/default/hook/search/tabs-search_tabs.html.tmpl
new file mode 100644
index 000000000..c40cb6e5e
--- /dev/null
+++ b/extensions/Example/template/en/default/hook/search/tabs-search_tabs.html.tmpl
@@ -0,0 +1,13 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[%
+ tabs.push ({ name => 'newsearch', label => "New Search",
+ link => "query.cgi?format=newsearch" })
+%]
+