From 331fee414c98ff0eda46173bf2ebb700295461e7 Mon Sep 17 00:00:00 2001 From: Albert Ting Date: Sat, 16 Feb 2013 23:44:08 +0100 Subject: Bug 836436: Add a "search_tabs" hook to allow additional search tabs r/a=LpSolit --- .../en/default/hook/search/tabs-search_tabs.html.tmpl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 extensions/Example/template/en/default/hook/search/tabs-search_tabs.html.tmpl (limited to 'extensions') 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" }) +%] + -- cgit v1.2.3-24-g4f1b