From 0a1d9b907f9a387a6dfd993592b270b79c49f18a Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Thu, 31 Jul 2014 15:36:55 -0300 Subject: [PATCH] [PASSED QA] 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 --- .../en/modules/admin/auth_subfields_structure.tt | 8 +++--- .../prog/en/modules/admin/auth_tag_structure.tt | 2 +- .../prog/en/modules/admin/koha2marclinks.tt | 6 ++-- .../en/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 +++++++++++----------- .../modules/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 6de697d..9c0f95b 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 43892ec..87c55b4 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 1568393..c12ddf1 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 60469b8..277c145 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 1b8b21a..bc0a3d7 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 f7de1fe..b4d2440 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 %] - -- 1.9.1