From 3d0b1938af750bd9c25f530651cf793b6f78b032 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 31 Mar 2022 18:46:16 +0000 Subject: [PATCH] Bug 30424: (follow-up) Markup comments MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch adds comments to the template to highlight the markup structure. This patch should have no effect on the page's appearance or functionality. Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers --- .../prog/en/modules/catalogue/advsearch.tt | 76 +++++++++---------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt index feaff08728..3b1b3b844b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt @@ -74,8 +74,8 @@ - - + + [% IF ( outer_servers_loop ) %] @@ -91,10 +91,10 @@ - [% END %] + [% END # /FOREACH local_servers_loo %] - [% END %] + [% END # /IF ( outer_servers_loop ) %] [% IF ( outer_servers_loop ) %] @@ -109,8 +109,8 @@ - [% END %] - + [% END # /FOREACH outer_servers_loo %] + [% END %] @@ -139,10 +139,10 @@ [% END %] - [% END %] + [% END # /IF loop.first %] [% ELSE %]
- [% END %] + [% END # /IF ( expanded_options ) %] [% SET preselect = 'ms_' _ indexes.${loop.index}.replace(',','comma') %] [% INCLUDE 'search_indexes.inc' %] @@ -154,9 +154,9 @@ [% IF ( loop.first ) %] [% END %] - [% END %] -
- [% END %] + [% END # /IF ( expanded_options ) %] + + [% END # /FOREACH query IN queries %] [% IF Koha.Preference('SearchEngine') == 'Elasticsearch' %] [% IF ( expanded_options ) %] @@ -170,11 +170,11 @@

[% ELSE %] - [% END %] - [% END %] - + [% END # /IF ( expanded_options ) %] + [% END #/IF Koha.Preference('SearchEngine') %] + - +

@@ -189,7 +189,7 @@ [% END %] - [% END %] + [% END # /FOREACH advsearchloo %] [% FOREACH advsearchloo IN advancedsearchesloop %] @@ -205,7 +205,7 @@ [% ELSE %] - [% END %] + [% END # /IF limits.$limit_key.defined %]
- [% END %] - + + [% END # /FOREACH advsearchloo %] + [% IF ( expanded_options ) %] @@ -246,7 +246,7 @@ [% END %]

- +
@@ -259,10 +259,10 @@ [% limits.delete( 'language-original,rtrn' ) %]

-
- + + - [% END %] + [% END # /IF ( expanded_options ) %] [% IF ( UNIMARC ) %] [% INCLUDE 'subtypes_unimarc.inc' %] @@ -283,10 +283,10 @@ [% END %] [% limits.delete( subtype ) %] - [% END %] - - - [% END %] + [% END # /FOREACH subtype %] + + + [% END # /IF ( UNIMARC ) %]
@@ -297,7 +297,7 @@ [% ELSE %]

[% END %] -
+

@@ -307,7 +307,7 @@ [%# FIXME Should not we filter the libraries displayed? %] [% PROCESS options_for_libraries prefix => "branch:" libraries => Branches.all( unfiltered => 1, do_not_select_my_library => 1, selected => limits.branch.0 ) %] [% limits.delete('branch') %] - +

[% IF search_groups %]

OR

@@ -325,11 +325,11 @@ [% END %] [% END %] [% limits.delete('multibranchlimit') %] - +

- [% END %] -
- + [% END # /search_groups %] + + @@ -348,7 +348,7 @@ [% END %]

- [% END %] + [% END # /IF limits.size %] @@ -360,7 +360,7 @@ [% INCLUDE 'resort_form.inc' sort_by = sort %]

- + -- 2.39.5