Koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/marcimport.tmpl
tipaul 2745c7b218 road to 1.3.2. Full rewrite of marcimport.pl.
The acquisition system in MARC version will work like this :
* marcimport will put marc records into a "breeding farm" table.
* when the user want to add a biblio, he enters first the ISBN/ISSN of the biblio. koha searches into breeding farm and if the record exists, it is shown to the user to help him adding the biblio. When the biblio is added, it's deleted from the breeding farm.

This commit :
* modify acqui.simple home page  (addbooks.pl)
* adds import into breeding farm

Please note that :
* z3950 functionnality is dropped from "marcimport" will be added somewhere else.
* templates are in a new acqui.simple sub directory, and the marcimport template directory will become obsolete soon.I think this is more logic
2002-10-15 10:14:43 +00:00

52 lines
2 KiB
Cheetah

<TMPL_INCLUDE NAME="acquisitions-top.inc">
<h1>MARC acquisition system</h1>
<table bgcolor="#ffcc00" width="80%" cellpadding="3">
<tr valign="center">
<td><font size="4">Import into breeding farm</font></td>
</tr>
</table>
<TMPL_IF name="uploadmarc">
<p>Import results :</p>
<ul>
<p><TMPL_VAR name="imported"> imported records</p>
<p><TMPL_VAR name="alreadyindb"> not imported because already in DB</p>
<p><TMPL_VAR name="alreadyinfarm"> not imported because already in farm</p>
<p><TMPL_VAR name="notmarcrecord"> not imported because they seems not to be MARC format (or ISBN/ISSN missing) !</p>
<p><TMPL_VAR name="total"> records parsed</p>
<p><a href="addbooks.pl">Back to acquisition</a>
</ul>
<TMPL_ELSE>
<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.
If an ISBN already exists in the breeding farm, you can choose wether to ignore the new one, or overwrite the old one.<br/>
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/>
Of course, if the ISBN already exists in active DB, the biblio will be ignored.<br/></ul>
<form method="post" action="<TMPL_VAR name="SCRIPT_NAME">" enctype="multipart/form-data">
<table cellpadding="3" border=0>
<tr valign="top">
<td>Select the file to import :</td>
<td>
<input type="file" name="uploadmarc"/><br/>
</td>
</tr>
<tr valign="top">
<td>Name of this import :</td>
<td>
<input type="text" name="filename"/><br/>
</td>
</tr>
<tr valign="top">
<td>If ISBN already in breeding farm : </td>
<td><input type="radio" name="overwrite_biblio" value="0" checked>Ignore this one, keep the existing one<br/>
<input type="radio" name="overwrite_biblio" value="1">Overwrite the existing one with this</td>
</tr>
<tr valign="top">
<td>&nbsp; </td>
<td><input type="submit" value="import"></td>
</tr>
</table>
</form>
</TMPL_IF>
<TMPL_INCLUDE NAME="acquisitions-bottom.inc">