[Koha-patches] [PATCH] [labels_recon] [ 3/6] fixed translatibility error in label-edit-layout.tmpl
Galen Charlton
gmcharlt at gmail.com
Sun Sep 6 03:42:38 CEST 2009
Error found by xt/author/translatable-templates.t test.
Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
---
.../prog/en/modules/labels/label-edit-layout.tmpl | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tmpl
index 17ba3f8..e40c415 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tmpl
@@ -68,7 +68,11 @@
<li>
<fieldset class="rows">
<legend>Bibliographic Data to Print</legend>
- <input type="radio" name="layout_choice" value="layout_table" <!-- TMPL_UNLESS NAME="layout_string" -->checked="checked"<!-- /TMPL_UNLESS -->" >Choose Order Of Text Fields to Print</input>
+ <!-- TMPL_IF NAME="layout_string" -->
+ <input type="radio" name="layout_choice" value="layout_table" checked="checked">Choose Order Of Text Fields to Print</input>
+ <!-- TMPL_ELSE -->
+ <input type="radio" name="layout_choice" value="layout_table">Choose Order Of Text Fields to Print</input>
+ <!-- /TMPL_IF -->
<br />
<fieldset id="layout_table">
<table summary="fields to print">
@@ -100,7 +104,11 @@
<br />
</fieldset>
<br />
- <input type="radio" name="layout_choice" value="layout_string" <!-- TMPL_IF NAME="layout_string" -->checked="checked"<!-- /TMPL_IF -->"> List Fields </input>
+ <!-- TMPL_IF NAME="layout_string" -->
+ <input type="radio" name="layout_choice" value="layout_string" checked="checked"> List Fields </input>
+ <!-- TMPL_ELSE -->
+ <input type="radio" name="layout_choice" value="layout_string"> List Fields </input>
+ <!-- /TMPL_IF -->
<fieldset id="layout_string" class="brief">
<label for="format_string">Data Fields</label>
<input type="text" name="format_string" id="format_string" size="80" value="<!-- TMPL_VAR ESCAPE='HTML' NAME="format_string" -->" />
--
1.6.3.3
More information about the Koha-patches
mailing list