[Koha-patches] [PATCH] [sysprefs_editor] Fix for markup error in sysprefs languages chooser
Jesse Weaver
pianohacker at gmail.com
Tue Sep 8 20:44:58 CEST 2009
Besides some formatting fixes, the main change is to make sure that
the nested tables for language groups are ended correctly.
---
.../prog/en/modules/admin/preferences.tmpl | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tmpl
index ecaf758..80c04c0 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tmpl
@@ -125,13 +125,15 @@
<tr><td>
<!-- TMPL_IF NAME="plural" -->
<!-- TMPL_IF NAME="native_description" --><!-- TMPL_VAR NAME="native_description" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="rfc4646_subtag" --><!-- /TMPL_IF -->
- <!-- TMPL_LOOP NAME="sublanguages_loop" --><table><tr><td>
- <label for="<!-- TMPL_VAR NAME="rfc4646_subtag" -->"><!-- TMPL_VAR NAME="native_description" --> <!-- TMPL_VAR NAME="script_description" --> <!-- TMPL_VAR NAME="region_description" --> <!-- TMPL_VAR NAME="variant_description" -->(<!-- TMPL_VAR NAME="rfc4646_subtag" -->)</label>
- <!-- TMPL_IF NAME="enabled" -->
- <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" checked="checked" />
- <!-- TMPL_ELSE -->
- <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" />
- <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="sublanguages_loop" -->
+ <table><tr><td>
+ <label for="<!-- TMPL_VAR NAME="rfc4646_subtag" -->"><!-- TMPL_VAR NAME="native_description" --> <!-- TMPL_VAR NAME="script_description" --> <!-- TMPL_VAR NAME="region_description" --> <!-- TMPL_VAR NAME="variant_description" -->(<!-- TMPL_VAR NAME="rfc4646_subtag" -->)</label>
+ <!-- TMPL_IF NAME="enabled" -->
+ <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" checked="checked" />
+ <!-- TMPL_ELSE -->
+ <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" />
+ <!-- /TMPL_IF -->
+ </td></tr></table>
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
<label for="<!-- TMPL_VAR NAME="rfc4646_subtag" -->"><!-- TMPL_VAR NAME="native_description" -->(<!-- TMPL_VAR NAME="rfc4646_subtag" -->)</label>
--
1.6.4
More information about the Koha-patches
mailing list