From 13adbbba8d37c12ecc62f196ec050e16147b6256 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Thu, 31 Jul 2014 15:36:55 -0300 Subject: [PATCH] Bug 12686: Make more selected option XHTML compliant This patch fixes several occurrences of selected options that do not follow XHTML style rule for markup. To test: 1. Apply the patch 2. There are no functional changes at all, only a more strict markup Changed all cases I can found. Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../modules/admin/auth_subfields_structure.tt | 8 ++--- .../en/modules/admin/auth_tag_structure.tt | 2 +- .../prog/en/modules/admin/koha2marclinks.tt | 6 ++-- .../modules/admin/marc_subfields_structure.tt | 8 ++--- .../prog/en/modules/admin/oai_set_mappings.tt | 4 +-- .../prog/en/modules/admin/smart-rules.tt | 2 +- .../prog/en/modules/tools/koha-news.tt | 32 +++++++++---------- .../tools/marc_modification_templates.tt | 2 +- 8 files changed, 32 insertions(+), 32 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt index 6de697d643..9c0f95bdb7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt @@ -146,7 +146,7 @@ function displayMoreConstraint(numlayer){ [% FOREACH value IN loo.authorised_value.values %] [% IF ( value == loo.authorised_value.default ) %] - + [% ELSE %] [% END %] @@ -170,7 +170,7 @@ function displayMoreConstraint(numlayer){ [% FOREACH value IN loo.value_builder.values %] [% IF ( value == loo.value_builder.default ) %] - + [% ELSE %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt index 43892ecbbe..87c55b4ac4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt @@ -113,7 +113,7 @@ [% FOREACH value IN $marclist.values %] [% IF ( value == $marclist.default ) %] - + [% ELSE %] [% END %] @@ -74,9 +74,9 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt index 1568393d0a..c12ddf1331 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt @@ -282,7 +282,7 @@ function populateHiddenCheckboxes(tab) { [% FOREACH value IN loo.authorised_value.values %] [% IF ( value == loo.authorised_value.default ) %] - + [% ELSE %] [% END %] @@ -313,7 +313,7 @@ function populateHiddenCheckboxes(tab) { [% FOREACH value IN loo.value_builder.values %] [% IF ( value == loo.value_builder.default ) %] - + [% ELSE %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt index 60469b8f23..277c1457ce 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt @@ -80,11 +80,11 @@ function hideDialogBox() { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index 1b8b21a1c8..bc0a3d7276 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -242,7 +242,7 @@ for="tobranch">Clone these rules to: diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt index f7de1fe19a..b4d24400cb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt @@ -78,25 +78,25 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %] @@ -105,13 +105,13 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %] [% IF ( lang == "" ) %] - + [% ELSE %] [% END %] [% IF ( lang == "koha" ) %] - + [% ELSE %] [% END %] [% IF ( lang == "slip" ) %] - + [% ELSE %] [% END %] [% FOREACH lang_lis IN lang_list %] [% IF ( lang_lis.language == lang ) %] - + [% ELSE %] [% END %] @@ -178,14 +178,14 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %] - -- 2.39.5