Fixing bug 347
[koha.git] / koha-tmpl / intranet-tmpl / default / en / acqui.simple / marcimport.tmpl
1 <TMPL_INCLUDE NAME="acquisitions-top.inc">
2 <h1>MARC acquisition system</h1>
3
4 <table bgcolor="#ffcc00" width="80%" cellpadding="3">
5         <tr valign="center">
6         <td><font size="4">Import into breeding farm</font></td>
7         </tr>
8 </table>
9
10 <TMPL_IF name="uploadmarc">
11 <p>Import results :</p>
12 <ul>
13         <p><TMPL_VAR name="imported"> imported records</p>
14         <p><TMPL_VAR name="alreadyindb"> not imported because already in DB</p>
15         <p><TMPL_VAR name="alreadyinfarm"> not imported because already in farm</p>
16         <p><TMPL_VAR name="notmarcrecord"> not imported because they seems not to be MARC format (or ISBN/ISSN missing) !</p>
17         <p><TMPL_VAR name="total">  records parsed</p>
18         <p><a href="addbooks.pl">Back to acquisition</a>
19 </ul>
20 <TMPL_ELSE>
21 <ul>Select a file to import into breeding farm. It will be parsed, and for each ISBN found, a new baby will be created in breeding farm.
22 If an ISBN already exists in the breeding farm, you can choose wether to ignore the new one, or overwrite the old one.<br/>
23 You can enter a name for this import. It may be useful, when creating a biblio, to remember where the suggested marc data comes !<br/>
24 Of course, if the ISBN already exists in active DB, the biblio will be ignored.<br/></ul>
25 <form method="post" action="<TMPL_VAR name="SCRIPT_NAME">" enctype="multipart/form-data">
26 <table cellpadding="3" border=0>
27         <tr valign="top">
28                 <td>Select the file to import :</td>
29                 <td>
30                         <input type="file" name="uploadmarc"/><br/>
31                 </td>
32         </tr>
33         <tr valign="top">
34                 <td>Name of this import :</td>
35                 <td>
36                         <input type="text" name="filename"/><br/>
37                 </td>
38         </tr>
39         <tr valign="top">
40                 <td>If ISBN already in breeding farm : </td>
41                 <td><input type="radio" name="overwrite_biblio" value="0" checked>Ignore this one, keep the existing one<br/>
42                         <input type="radio" name="overwrite_biblio" value="1">Overwrite the existing one with this</td>
43         </tr>
44         <tr valign="top">
45                 <td>&nbsp; </td>
46                 <td><input type="submit" value="import"></td>
47         </tr>
48
49 </table>
50 </form>
51 </TMPL_IF>
52 <TMPL_INCLUDE NAME="acquisitions-bottom.inc">