From 9f1dab122a69f3cc699ec2927e893361ef670d3e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 25 Jun 2012 10:06:57 +0200 Subject: [PATCH] Bug 8233: Hide the search engine configuration link for Zebra Signed-off-by: Chris Cormack --- admin/admin-home.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/admin/admin-home.pl b/admin/admin-home.pl index ad7a897409..3db17c14c4 100755 --- a/admin/admin-home.pl +++ b/admin/admin-home.pl @@ -34,4 +34,6 @@ my ($template, $loggedinuser, $cookie) debug => 1, }); +$template->param( SearchEngine => C4::Context->preference('SearchEngine') ); + output_html_with_http_headers $query, $cookie, $template->output; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt index 6e19132983..cabe94f46b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt @@ -76,8 +76,10 @@
Manage rules for automatically matching MARC records during record imports.
OAI sets configuration
Manage OAI Sets
-
Search engine configuration
-
Manage indexes, facets, and their mappings to MARC fields and subfields.
+ [% IF ( SearchEngine != 'Zebra' ) %] +
Search engine configuration
+
Manage indexes, facets, and their mappings to MARC fields and subfields.
+ [% END %]

Acquisition parameters

-- 2.39.5