aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/search/tabs.html.tmpl12
1 files changed, 8 insertions, 4 deletions
diff --git a/template/en/default/search/tabs.html.tmpl b/template/en/default/search/tabs.html.tmpl
index f7703fd92..74569dceb 100644
--- a/template/en/default/search/tabs.html.tmpl
+++ b/template/en/default/search/tabs.html.tmpl
@@ -10,11 +10,15 @@
# This template has no interface.
#%]
+[% tabs = [ { name => 'specific', label => "Simple Search",
+ link => "query.cgi?format=specific" },
+ { name => 'advanced', label => "Advanced Search",
+ link => "query.cgi?format=advanced" } ] %]
+
+[% Hook.process('search_tabs') %]
+
[% WRAPPER global/tabs.html.tmpl
- tabs = [ { name => 'specific', label => "Simple Search",
- link => "query.cgi?format=specific" },
- { name => 'advanced', label => "Advanced Search",
- link => "query.cgi?format=advanced" } ]
+ tabs = tabs
current_tab_name = query_format || format || "advanced"
%]