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