From 60de5e1772f4c28a7e0caa8bd451db928c789457 Mon Sep 17 00:00:00 2001 From: Srikanth Dhondi Date: Thu, 25 Oct 2012 17:20:13 +1300 Subject: [PATCH] Bug 8712 - Made changes to advances search page to make it more accessibility friendly --- koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 7 +- .../opac-tmpl/prog/en/modules/opac-advsearch.tt | 91 ++++++++++++++------ 2 files changed, 70 insertions(+), 28 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index 3f661ad..defdf7b 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -144,7 +144,7 @@ No public lists [% END %] [% IF ( opacuserlogin ) %] -

Your lists

+

Your lists

[% IF ( loggedinusername ) %] [% IF ( barshelves ) %] [% END %] [% ELSE %] @@ -164,6 +164,7 @@ [% END %] + [% END %]
@@ -172,7 +173,7 @@ [% IF ( searchdesc ) %]

[% IF ( total ) %]Your search returned [% total |html %] results. [% IF ( related ) %] (related searches: [% FOREACH relate IN related %][% relate.related_search %][% END %]). [% END %] Subscribe to this search [% ELSE %] -No results found! +

No results found!

[% IF ( searchdesc ) %] No results found for that in [% LibraryName %] catalog. Subscribe to this search diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt index 55eea18..a82c2bf 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt @@ -55,17 +55,54 @@ [% FOREACH search_box IN search_boxes_loop %]

[% IF ( expanded_options ) %] + [% IF loop.index == 0 %] +                + [% END %] + [% IF ( search_box.boolean ) %] - + [% END %] + [% ELSE %] + [% END %] - [% IF ( expanded_options ) %][% left_content %][% END %] - + [% IF loop.index == 0 %] + + [% ELSIF loop.index == 1 %] + + [% IF ( expanded_options ) %] + + + + + [% END %] + [% ELSIF loop.index == 2 %] + + [% IF ( expanded_options ) %] + + + + + + + [% END %] + [% END %] + + [% IF loop.index != 0 %] + + [% END %] + [% IF ( expanded_options ) %] @@ -73,23 +110,27 @@ [% END %] - -[% IF ( expanded_options ) %] - - - - -[% END %] - - -[% IF ( expanded_options ) %] - - - - - - -[% END %] + [% IF loop.index != 1 %] + + [% IF ( expanded_options ) %] + + + + + [% END %] + [% END %] + + [% IF loop.index != 2 %] + + [% IF ( expanded_options ) %] + + + + + + + [% END %] + [% END %] [% IF ( expanded_options ) %] [% IF (marcflavour != 'UNIMARC') %] -- 1.7.9.5