Uploading borrowers works now
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / import_borrowers.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Cataloging &rsaquo; MARC Import</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/tools-home.pl">Tools</a> &rsaquo; Borrower Import</div>
10
11 <div id="doc3" class="yui-t2">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-b">
16
17 <h1>Borrower Import</h1>
18
19 <!-- TMPL_IF name="uploadborrowers" -->
20 <p>Import results :</p>
21 <ul>
22         <li><!-- TMPL_VAR name="imported" --> imported records</li>
23         <li><!-- TMPL_VAR name="overwritten" --> overwritten</li>
24         <li><!-- TMPL_VAR name="alreadyindb" --> not imported because already in borrowers table and overwrite disabled</li>
25         <li><!-- TMPL_VAR name="invalid" --> not imported because they are not in the expected format !</li>
26         <li><!-- TMPL_VAR name="total" -->  records parsed</li>
27         <li><a href="/cgi-bin/koha/tools/tools-home.pl">Back</a></li>
28 </ul>
29 <!-- TMPL_ELSE -->
30 <ul>
31         <li>Select a file to import into the borrowers table</li>
32         <li>If a cardnumber exists in the table, you can choose whether to ignore the new one or overwrite the old one.</li>
33 </ul>
34 <form method="post" action="<!-- TMPL_VAR name="SCRIPT_NAME" -->" enctype="multipart/form-data">
35 <fieldset class="rows">
36 <legend>Import into the borrowers table</legend><ol>
37         <li>
38                 <label for="uploadborrowers">Select the file to import: </label>
39                 
40                         <input type="file" id="uploadborrowers" name="uploadborrowers" /><br />
41                 
42         </li>
43
44 </ol></fieldset>
45         <fieldset class="rows">
46         <legend>If cardnumber is already in the borrowers table:</legend><ol><li class="radio">
47                  
48                 <input type="radio" id="overwrite_cardnumberno" name="overwrite_cardnumber" value="0" checked="checked" /><label for="overwrite_cardnumberno">Ignore this one, keep the existing one</label></li>
49 <li class="radio">
50                         <input type="radio" id="overwrite_cardnumberyes" name="overwrite_cardnumber" value="1" /><label for="overwrite_cardnumberyes">Overwrite the existing one with this</label>
51         </li></ol></fieldset><input type="submit" value="Import" />
52 </form>
53 <!-- /TMPL_IF -->
54
55 </div>
56 </div>
57 <div class="yui-b">
58 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
59 </div>
60 </div>
61 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->