Bug 19654: Move tools templates JavaScript to the footer: Batch MARC tools
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / batchMod.tt
1 [% SET footerjs = 1 %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Tools &rsaquo; [% IF ( del ) %]Batch item deletion[% ELSE %]Batch item modification[% END %] </title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 </head>
6 <body id="tools_batchMod" class="tools">
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'cat-search.inc' %]
9
10 <div id="breadcrumbs">
11     <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
12     <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo;
13     [% IF ( del ) %]
14     <a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a>
15     [% ELSE %]
16     <a href="/cgi-bin/koha/tools/batchMod.pl">Batch item modification</a>
17     [% END %]
18 </div>
19
20 <div id="doc3" class="yui-t2">
21     <div id="bd">
22         <div id="yui-main">
23             <div class="yui-b">
24                 <h1>Batch item [% IF ( del ) %]deletion[% ELSE %]modification[% END %]</h1>
25                         <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batchMod.pl">
26                             <fieldset class="rows">
27                                 <legend>Use a file</legend>
28                                   <ol>
29                       <li>
30                     <label for="barcode_file">Barcode file: </label><input type="radio" name="filecontent" value="barcode_file" id="barcode_file" checked="checked" /></li>
31                     <li>
32                     <label for="itemid_file">Item number file: </label><input type="radio" name="filecontent" value="itemid_file" id="itemid_file" />
33                       </li>
34                                     <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
35                                 </ol>
36                             </fieldset>
37                             <fieldset class="rows">
38                                 <legend>Or scan items one by one</legend>
39                                 <ol>
40                                     <li>
41                                       <label for="barcodelist">Barcode list (one barcode per line): </label>
42                                       <textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea>
43                                     </li>
44                                 </ol>
45                             </fieldset>
46                             <input type="hidden" name="op" value="show" />
47
48                             [% UNLESS del %]
49                                 <fieldset class="rows">
50                                     <legend>Use default values</legend>
51                                     <ol class="radio">
52                                         <li>
53                                             <label>
54                                                 <input type="checkbox" name="use_default_values" id="use_default_values" />
55                                                 Populate fields with default values from default framework
56                                             </label>
57                                         </li>
58                                     </ol>
59                                 </fieldset>
60                             [% END %]
61
62                             [% IF ( del ) %]<input type="hidden" name="del" value="1" />[% END %]
63                             <fieldset class="action">
64                                 <input type="submit" value="Continue" class="button" />
65                 <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
66                             </fieldset>
67
68                         </form>
69                     </div>
70             </div>
71        <div class="yui-b">
72             [% INCLUDE 'tools-menu.inc' %]
73         </div>
74     </div>
75
76 [% MACRO jsinclude BLOCK %]
77     <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu.js"></script>
78 [% END %]
79
80 [% INCLUDE 'intranet-bottom.inc' %]