Merge remote-tracking branch 'origin/new/bug_7143'
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / export.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Tools &rsaquo; MARC Export</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <link rel="stylesheet" type="text/css" href="[% themelang %]/lib/calendar/calendar-system.css" />
5 <script type="text/javascript" src="[% themelang %]/lib/calendar/calendar.js"></script>
6 <script type="text/javascript" src="[% themelang %]/lib/calendar/calendar-en.js"></script>
7 <script type="text/javascript" src="[% themelang %]/lib/calendar/calendar-setup.js"></script>
8 </head>
9 <body id="tools_export" class="tools">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'cat-search.inc' %]
12
13 <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>
14
15 <div id="doc3" class="yui-t2">
16    
17    <div id="bd">
18         <div id="yui-main">
19         <div class="yui-b">
20
21 <p>
22     <b>Note : The items are exported by this tool unless specified.</b>
23 </p>
24
25 <form method="post" action="/cgi-bin/koha/tools/export.pl">
26     <fieldset class="rows">
27     <legend> Select Records to Export </legend>
28         <ol><li>
29             <label for="start">From biblio number: </label>
30             <input id="start" type="text" name="StartingBiblionumber" size="5" />
31         </li>
32         <li>
33             <label for="end">To biblio number: </label>
34             <input id="end" type="text" name="EndingBiblionumber" size="5" />
35         </li>
36         
37         <li>
38             <label for="itemtype">Item type: </label>
39             <select name="itemtype" id="itemtype">
40                 <option value="">-- All --</option>
41                 [% FOREACH itemtypeloo IN itemtypeloop %]
42                                 [% IF ( itemtypeloo.selected ) %]
43                 <option value="[% itemtypeloo.value %]" selected="selected">[% itemtypeloo.description %]</option>
44 [% ELSE %]
45                 <option value="[% itemtypeloo.value %]">[% itemtypeloo.description %]</option>
46 [% END %]
47                 [% END %]
48             </select>
49         </li>
50         
51         <li>
52             <label for="branch">Library: </label>
53             <select id="branch" name="branch">
54             <option value="">-- All --</option>
55                 [% FOREACH branchloo IN branchloop %]
56                     [% IF ( branchloo.selected ) %]<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
57                                 [% ELSE %]
58                                 <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
59                                 [% END %]
60                     [% END %]
61                 </select>
62         </li>
63         <li>
64             <label for="startcn">From itemcallnumber: </label>
65             <input id="startcn" type="text" name="start_callnumber" size="5" />
66         </li>
67         <li>
68             <label for="endcn">To itemcallnumber: </label>
69             <input id="endcn" type="text" name="end_callnumber" size="5" />
70         </li>
71         <li>Accession date (inclusive):
72                 <ul><li>
73                 <label for="start_accession">Start date:</label>
74                 <input type="text" size="10" id="start_accession" name="start_accession" value="[% from %]" />
75                 <img src="[% themelang %]/lib/calendar/cal.gif"  border="0" id="openCalendarFrom" style="cursor: pointer;" alt="" />
76                         <script language="JavaScript" type="text/javascript">
77 Calendar.setup(
78         {
79         inputField : "start_accession",
80         ifFormat : "[% DHTMLcalendar_dateformat %]",
81         button : "openCalendarFrom"
82         }
83 );
84 </script></li>
85 <li><label for="end_accession">
86     End date:
87 </label>
88 <input size="10" id="end_accession" name="end_accession" value="[% end_accession %]" type="text" />
89 <img src="[% themelang %]/lib/calendar/cal.gif" alt="" id="openCalendarTo" style="cursor: pointer;" border="0" />
90 <script type="text/javascript">
91
92         Calendar.setup(
93                 {
94                     inputField : "end_accession",
95                     ifFormat : "[% DHTMLcalendar_dateformat %]",
96                     button : "openCalendarTo"
97                 }
98         );
99 </script></li>
100 </ul></li></ol>
101     </fieldset>
102     <fieldset class="rows">
103     <legend> Options</legend>
104 <ol>        <li>
105         <label for="dont_export_item">Don't export items</label>
106         <input id="dont_export_item" type="checkbox" name="dont_export_item" />
107         </li>
108         <li>
109         <label for="strip_nonlocal_items">Remove non-local items</label>
110         <input id="strip_nonlocal_items" type="checkbox" name="strip_nonlocal_items" />
111         </li>
112         <li>
113         <label for="dont_export_fields">Don't export fields</label>
114         <input id="dont_export_fields" type="text" name="dont_export_fields" />
115         separate by a blank. (e.g., 100a 200 606)
116         </li></ol>
117     </fieldset>
118     <fieldset class="rows">
119     <legend>
120         Output format
121     </legend>
122         <ol><li>
123             <label for="output_format">File format: </label>
124             <select id="output_format" name="output_format">
125                 <option value="marc">marc</option>
126                 <option value="xml">xml</option>
127             </select>
128             
129         </li>
130         <li>
131         <label for="filename">File name:</label><input id="filename" type="text" name="filename" value="koha.mrc" />
132         </li></ol>
133     </fieldset>
134     <input type="hidden" name="op" value="export" />
135         
136     <fieldset class="action"><input type="submit" value="Export" class="button" /></fieldset>
137 </form>
138
139 </div>
140 </div>
141 <div class="yui-b noprint">
142 [% INCLUDE 'tools-menu.inc' %]
143 </div>
144 </div>
145 [% INCLUDE 'intranet-bottom.inc' %]