From 72f826963c20dfdc6c5934693089e3d3e83ec1ec Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 17 Oct 2011 11:51:16 -0400 Subject: [PATCH] Fix for Bug 7043 - masthead_search id used twice in template Changing ID of library selector, and moving inline styles to the CSS as requested by kf in the bug comments. Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 6 ++++++ koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 665d1436c4..14236c82bb 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -784,6 +784,12 @@ body#advsearch #listsmenulink { margin : .2em .3em 0 0; } +#masthead_search, +#select_library { + max-width: 10em; + width: 10em; +} + #search-facets ul { margin : 0; diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index 92e58bcda1..fd352a952e 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -35,7 +35,7 @@ [% END %] - [% IF ( ms_kw ) %] [% ELSE %] @@ -77,7 +77,7 @@
[% END %] [% IF ( OpacAddMastheadLibraryPulldown ) %] - [% FOREACH BranchesLoo IN BranchesLoop %] [% IF ( BranchesLoo.selected ) %] -- 2.39.5