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