Bug 3962: Fixes XHTML errors in aqbudgets.tmpl.
authorGarry Collum <gcollum@gmail.com>
Fri, 18 Dec 2009 22:35:48 +0000 (17:35 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Sun, 20 Dec 2009 13:28:52 +0000 (14:28 +0100)
Fixes the DOCTYPE, <title> and other XHTML errors in aqbudgets.tmpl.

koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl

index a7c64c9..ee8188f 100644 (file)
@@ -1,3 +1,5 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
+<title><!--TMPL_IF NAME="budget_id" -->Modify<!-- TMPL_ELSE -->Add<!-- /TMPL_IF --> Budget</title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
 <script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/acq.js"></script>
 
     <!-- FIXME: hardcoded button positions :/ -->
     <input style="position:absolute; left:600px;" type="button" id="patron_search" value="Edit owner" onclick="ownerPopup(); return false;" />
-    <input style="position:absolute; left:680px;"  type="button" id="patron_search" value="Remove owner" onclick="ownerRemove(this.form); return false;" />
+    <input style="position:absolute; left:680px;"  type="button" id="patron_removal" value="Remove owner" onclick="ownerRemove(this.form); return false;" />
     </li>
-    </td>
-    </tr>
-    </table>
 
     <li>
     <label for="branch">Library: </label>
 <div class="dialog alert"> <h3>Delete Budget <!-- TMPL_VAR NAME="budget_name" -->?</h3>
 <table>
     <tr>
-    <th scope="row">Budget Amount:</td>
+    <td scope="row">Budget Amount:</td>
     <td><!-- TMPL_VAR NAME="budget_amount" --></td>
     </tr>
 </table>