[Koha-patches] [PATCH] bug 2799: followup 2

Galen Charlton galen.charlton at liblime.com
Wed Dec 17 21:40:53 CET 2008


* fix TMPL_IF embedded in HTML tag
* convert a remaining <TMPL_VAR> to a comment
---
 .../en/modules/admin/branch_transfer_limits.tmpl   |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tmpl
index e300017..c863f83 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tmpl
@@ -71,7 +71,7 @@
 				<tr>
 					<th>To/From</th>
 					<!-- TMPL_LOOP NAME="branchcode_loop" -->
-						<th><TMPL_VAR NAME="branchcode"></th>
+						<th><!-- TMPL_VAR NAME="branchcode" --></th>
 					<!-- /TMPL_LOOP -->
 				</tr>
 			</thead>
@@ -85,12 +85,16 @@
 							<td><!-- TMPL_VAR NAME="toBranch" --></td>
 							<!-- TMPL_LOOP NAME="from_branch_loop" -->
 								<td>
+                                    <!-- TMPL_IF NAME="isChecked" -->
 									<input 
 										name="<!-- TMPL_VAR NAME="itemtype" -->_<!-- TMPL_VAR NAME="toBranch" -->_<!-- TMPL_VAR NAME="fromBranch" -->"
-										type="checkbox" 
-										value="1"
-										<!-- TMPL_IF NAME="isChecked" -->checked="checked"<!-- /TMPL_IF -->
-								    	/>
+										type="checkbox" value="1" checked="checked" />
+                                    <!-- TMPL_ELSE-->
+									<input 
+										name="<!-- TMPL_VAR NAME="itemtype" -->_<!-- TMPL_VAR NAME="toBranch" -->_<!-- TMPL_VAR NAME="fromBranch" -->"
+										type="checkbox" value="1" />
+                                    <!-- TMPL_ELSE-->
+                                    <!-- /TMPL_IF -->
 								</td>
 							<!-- /TMPL_LOOP -->
 						</tr>
-- 
1.5.5.GIT




More information about the Koha-patches mailing list