[Koha-patches] [PATCH] Bug 3252: Fixes XHTML on catalog statistic form page.

Garry Collum gcollum at gmail.com
Fri May 29 04:30:24 CEST 2009


Several form input fields were within a <table> element, but not in a <td>.  This patch pulls the input fields out of the table.
---
 .../prog/en/modules/reports/catalogue_stats.tmpl   |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tmpl
index 683bd8b..c367cec 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tmpl
@@ -62,6 +62,10 @@
 <!-- TMPL_ELSE -->
 
 	<form method="post" action="/cgi-bin/koha/reports/catalogue_stats.pl">
+	<input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
+	<!-- TMPL_UNLESS Name="haslccn" -->
+	<input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
+	<!-- /TMPL_UNLESS -->
 	<fieldset class="rows">
 	<legend>Catalog statistics</legend>
 	<table>
@@ -74,7 +78,6 @@
 			</tr>
 		</thead>
 		<tbody>
-				<input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
 			<!-- TMPL_IF Name="haslccn" -->
 					<tr>
 					<td>LoC Classification</td>
@@ -96,8 +99,6 @@
 					</td>
 					<td>&nbsp;</td>
 				</tr>
-				<!-- TMPL_ELSE -->
-				<input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
 			<!-- /TMPL_IF  -->
 			<!-- TMPL_IF Name="hascote" -->
 			  <tr>
-- 
1.5.6.5




More information about the Koha-patches mailing list