Bug 3360: Fix for unclosed <ol> element in export.tmpl
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / export.tmpl
index 53a1dd1..68a2cf1 100644 (file)
@@ -1,6 +1,10 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
 <title>Koha &rsaquo; Tools &rsaquo; MARC Export</title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-system.css" />
+<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar.js"></script>
+<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-en.js"></script>
+<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-setup.js"></script>
 </head>
 <body>
 <!-- TMPL_INCLUDE NAME="header.inc" -->
@@ -31,7 +35,7 @@
         </li>
         
         <li>
-            <label for="itemtype">Document type: </label>
+            <label for="itemtype">Item type: </label>
             <select name="itemtype" id="itemtype">
                 <option value="">-- All --</option>
                 <!-- TMPL_LOOP NAME="itemtypeloop" -->
         <li>
             <label for="endcn">To itemcallnumber: </label>
             <input id="endcn" type="text" name="end_callnumber" size="5" />
-        </li></ol>
+        </li>
+       <li>Accession date (inclusive):
+               <ul><li>
+               <label for="start_accession">Start date:</label>
+               <input type="text" size="10" id="start_accession" name="start_accession" value="<!-- TMPL_VAR NAME="from" -->" />
+               <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif"  border="0" id="openCalendarFrom" style="cursor: pointer;" alt="" />
+                       <script language="JavaScript" type="text/javascript">
+Calendar.setup(
+        {
+        inputField : "start_accession",
+        ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
+        button : "openCalendarFrom"
+        }
+);
+</script></li>
+<li><label for="end_accession">
+    End date:
+</label>
+<input size="10" id="end_accession" name="end_accession" value="<!-- TMPL_VAR NAME="end_accession" -->" type="text" />
+<img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="" id="openCalendarTo" style="cursor: pointer;" border="0" />
+<script type="text/javascript">
+
+        Calendar.setup(
+                {
+                    inputField : "end_accession",
+                    ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
+                    button : "openCalendarTo"
+                }
+        );
+</script></li>
+</ul></li></ol>
     </fieldset>
     <fieldset class="rows">
     <legend> Options</legend>
         <input id="dont_export_item" type="checkbox" name="dont_export_item" />
         </li>
         <li>
+        <label for="strip_nonlocal_items">Remove non-local items</label>
+        <input id="strip_nonlocal_items" type="checkbox" name="strip_nonlocal_items" />
+        </li>
+        <li>
         <label for="dont_export_fields">Don't export fields</label>
         <input id="dont_export_fields" type="text" name="dont_export_fields" />
-        <i>seperate by a blank. (e.g.: 100a 200 606)</i>
+        separate by a blank. (e.g., 100a 200 606)
         </li></ol>
     </fieldset>
     <fieldset class="rows">
         </li></ol>
     </fieldset>
     <input type="hidden" name="op" value="export" />
-    <input type="submit" value="Export" class="button" />
+       
+    <fieldset class="action"><input type="submit" value="Export" class="button" /></fieldset>
 </form>
 
 </div>
 </div>
-<div class="yui-b">
+<div class="yui-b noprint">
 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
 </div>
 </div>