really proud of this commit :-)
[koha.git] / koha-tmpl / intranet-tmpl / default / en / acqui.simple / marcimport.tmpl
1 <TMPL_INCLUDE NAME="marc-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 the 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>
22         <li>Select a file to import into the breeding farm. It will be parsed, and for each ISBN found, a new baby will be created in the breeding farm.</li>
23         <li>If an ISBN already exists in the breeding farm, you can choose whether to ignore the new one or overwrite the old one.</li>
24         <li>You can enter a name for this import. It may be useful, when creating a biblio, to remember where the suggested MARC data comes from!</li>
25         <li>Of course, if the ISBN already exists in the active DB, the biblio will be ignored.</li>
26 </ul>
27 <form method="post" action="<TMPL_VAR name="SCRIPT_NAME">" enctype="multipart/form-data">
28 <table cellpadding="3" border=0>
29         <tr valign="top">
30                 <td>Select the file to import:</td>
31                 <td>
32                         <input type="file" name="uploadmarc"/><br/>
33                 </td>
34         </tr>
35         <tr valign="top">
36                 <td>Name of this import:</td>
37                 <td>
38                         <input type="text" name="filename"/><br/>
39                 </td>
40         </tr>
41         <tr valign="top">
42                 <td>Character encoding (USMARC or UNIMARC)</td>
43                 <td>
44                         <select name="syntax"/><option value="USMARC">USMARC</option><option value="UNIMARC">UNIMARC</option></select><br/>
45                 </td>
46         </tr>
47         <tr valign="top">
48                 <td>If ISBN already in breeding farm: </td>
49                 <td><input type="radio" name="overwrite_biblio" value="0" checked>Ignore this one, keep the existing one<br/>
50                         <input type="radio" name="overwrite_biblio" value="1">Overwrite the existing one with this</td>
51         </tr>
52         <tr valign="top">
53                 <td>&nbsp; </td>
54                 <td><input type="submit" value="Import"></td>
55         </tr>
56
57 </table>
58 </form>
59 </TMPL_IF>
60 <TMPL_INCLUDE NAME="acquisitions-bottom.inc">