Bug 3360: Fix for unclosed <ol> element in export.tmpl
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / export.tmpl
index eeed23c..68a2cf1 100644 (file)
@@ -1,12 +1,16 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha &rsaquo; MARC Export</title>
+<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" -->
 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
 
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; MARC Export</div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; MARC Export</div>
 
 <div id="doc3" class="yui-t2">
    
 </p>
 
 <form method="post" action="/cgi-bin/koha/tools/export.pl">
-    <fieldset>
-    <legend>
-        Select Records to Export
-    </legend>
-        <p>
-            <label for="start">from biblio number</label>
+    <fieldset class="rows">
+    <legend> Select Records to Export </legend>
+        <ol><li>
+            <label for="start">From biblio number: </label>
             <input id="start" type="text" name="StartingBiblionumber" size="5" />
-        </p>
-        <p>
-            <label for="end">to biblio number :</label>
+        </li>
+        <li>
+            <label for="end">To biblio number: </label>
             <input id="end" type="text" name="EndingBiblionumber" size="5" />
-        </p>
+        </li>
         
-        <p>
-            <label for="itemtype" >Document type</label>
+        <li>
+            <label for="itemtype">Item type: </label>
             <select name="itemtype" id="itemtype">
                 <option value="">-- All --</option>
                 <!-- TMPL_LOOP NAME="itemtypeloop" -->
 <!-- /TMPL_IF -->
                 <!-- /TMPL_LOOP -->
             </select>
-        </p>
+        </li>
         
-        <p>
-            <label for="branch">Library</label>
+        <li>
+            <label for="branch">Library</label>
             <select id="branch" name="branch">
             <option value="">-- All --</option>
                 <!-- TMPL_LOOP name="branchloop" -->
                                <!-- /TMPL_IF -->
                     <!-- /TMPL_LOOP -->
                 </select>
-        </p>
-        <p>
-            <label for="startcn">from itemcallnumber</label>
+        </li>
+        <li>
+            <label for="startcn">From itemcallnumber: </label>
             <input id="startcn" type="text" name="start_callnumber" size="5" />
-        </p>
-        <p>
-            <label for="endcn">to itemcallnumber : </label>
+        </li>
+        <li>
+            <label for="endcn">To itemcallnumber: </label>
             <input id="endcn" type="text" name="end_callnumber" size="5" />
-        </p>
+        </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>
-    <legend>
-        Options
-    </legend>
-        <p>
+    <fieldset class="rows">
+    <legend> Options</legend>
+<ol>        <li>
         <label for="dont_export_item">Don't export items</label>
         <input id="dont_export_item" type="checkbox" name="dont_export_item" />
-        </p>
-        <p>
+        </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>
-        </p>
+        separate by a blank. (e.g., 100a 200 606)
+        </li></ol>
     </fieldset>
-    <fieldset>
+    <fieldset class="rows">
     <legend>
         Output format
     </legend>
-        <p>
-            <label for="output_format">into </label>
+        <ol><li>
+            <label for="output_format">File format: </label>
             <select id="output_format" name="output_format">
                 <option value="marc">marc</option>
                 <option value="xml">xml</option>
             </select>
-            format.
-        </p>
-        <p>
-        <label for="filename">Filename:</label><input id="filename" type="text" name="filename" value="koha.mrc" />
-        </p>
+            
+        </li>
+        <li>
+        <label for="filename">File name:</label><input id="filename" type="text" name="filename" value="koha.mrc" />
+        </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>