Bug 3604: Fixes invalid XHTML in manage-marc-import.tmpl.
authorGarry Collum <gcollum@gmail.com>
Sun, 13 Sep 2009 15:08:35 +0000 (11:08 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Tue, 15 Sep 2009 01:00:09 +0000 (21:00 -0400)
Also adds zebra striping to <table>

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tmpl

index efc2827..4928d2c 100644 (file)
@@ -207,7 +207,7 @@ Page
     <th>Action</th>
   </tr>
   <!-- TMPL_LOOP name="batch_list" -->
-  <tr>
+  <!-- TMPL_UNLESS NAME="__odd__" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_UNLESS -->
     <td><!-- TMPL_VAR name="import_batch_id" --></td>
     <td><a href="<!-- TMPL_VAR name="script_name" -->?import_batch_id=<!-- TMPL_VAR name="import_batch_id" -->"><!-- TMPL_VAR name="file_name" --></a></td>
     <td><!-- TMPL_VAR name="comments" --></td>
@@ -216,7 +216,7 @@ Page
     <td><!-- TMPL_VAR name="num_biblios" --></td>
     <td><!-- TMPL_VAR name="num_items" --><!-- TMPL_IF NAME="num_items" --> <a href="<!-- TMPL_VAR name="script_name" -->?import_batch_id=<!-- TMPL_VAR name="import_batch_id" -->&amp;op=create_labels">(Create Label Batch)</a><!-- /TMPL_IF --></td>
     <td><!-- TMPL_IF name="can_clean" -->
-          <form method="POST" action="<!-- TMPL_VAR name="script_name" -->" name="clean_batch_<!-- TMPL_VAR name='import_batch_id'-->" id="clean_batch_<!-- TMPL_VAR name='import_batch_id'-->" >
+          <form method="post" action="<!-- TMPL_VAR name="script_name" -->" name="clean_batch_<!-- TMPL_VAR name='import_batch_id'-->" id="clean_batch_<!-- TMPL_VAR name='import_batch_id'-->" >
             <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
             <input type="hidden" name="op" value="clean-batch" />
             <input type="submit" class="button" value="Clean" onclick="return confirm(_('Clear all reservoir records staged in this batch?  This cannot be undone.'));" />