Koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem.tmpl
2002-12-12 16:33:58 +00:00

89 lines
2.8 KiB
Cheetah

<TMPL_INCLUDE NAME="acquisitions-top.inc">
<STYLE TYPE="text/css" MEDIA=screen>
table { font-family:Arial;
font-weight:normal;
text-decoration:none;
font-size:10pt;}
</STYLE>
<form method="post" action="additem.pl">
<table width=100% cellspacing=0 cellpadding=5 border=1>
<tr background="/images/background-mem.gif">
<th>MARC biblio : <TMPL_VAR name="bibid"></th>
</tr>
<tr>
<td>
<table width=100% border=0 colspacing=0 cellpadding=0>
<tr>
<td width=9% align="center">&nbsp;</td>
<td width=9% align="center">&nbsp;</td>
<td width=9% align="center">&nbsp;</td>
<td width=9% align="center">&nbsp;</td>
<td width=9% align="center">&nbsp;</td>
<td width=9% align="center">&nbsp;</td>
<td width=9% align="center">&nbsp;</td>
<td width=9% align="center">&nbsp;</td>
<td width=9% align="center">&nbsp;</td>
<td width=9% align="center">&nbsp;</td>
<td width=10% align="center">
<input type="hidden" name="op" value="<TMPL_VAR name="op">">
<input type="hidden" name="bibid" value="<TMPL_VAR name="bibid">">
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<center>
<DIV name="10XX" id="10XX">
<table border=1 cellspacing=0 cellpadding=5 width=100%>
<tr background="/images/background-mem.gif">
<th>Existing items</th>
</tr>
</table>
<table border=1 cellspacing=0 cellpadding=0 width=100%>
<tr background="/images/background-mem.gif">
<TMPL_LOOP name="item_header_loop"><th><tmpl_var name="header_value"></th></TMPL_LOOP><th colspan=2>&nbsp;</th>
</tr>
<TMPL_LOOP name="item_loop">
<tr>
<TMPL_VAR name="item_value">
<td><a href="additem.pl?op=edititem&bibid=<TMPL_VAR name="bibid">&itemnum=<TMPL_VAR name="itemnum">">Edit</a></td>
</tr>
</TMPL_LOOP>
</table>
</DIV>
<br /><br />
<table border=1 cellspacing=0 cellpadding=5 width=100%>
<tr background="/images/background-mem.gif">
<th>New Item</th>
</tr>
</table><table width=100% cellspacing=0 cellpadding=1 border=0>
<TMPL_LOOP name="item">
<tr>
<td width="3%">&nbsp;</td>
<td width="2%"><TMPL_VAR name="subfield"></td>
<td width="55%"><TMPL_IF name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF name="mandatory"></b></TMPL_IF></td>
<td width="40%">
<TMPL_VAR name="marc_value">
<input type="hidden" name="tag" value="<TMPL_VAR name="tag">">
<input type="hidden" name="subfield" value="<TMPL_VAR name="subfield">">
</td>
</tr>
</tmpl_loop>
</table>
<input type="hidden" name="itemnum" value="<TMPL_VAR name="itemnum">">
<TMPL_IF name="opisadd">
<input type="submit" value="Add item">
<TMPL_ELSE>
<input type="hidden" name="tag" value="<TMPL_VAR name="itemtagfield">">
<input type="hidden" name="subfield" value="<TMPL_VAR name="itemtagsubfield">">
<input type="hidden" name="field_value" value="<TMPL_VAR name="itemnum">">
<input type="submit" value="Modify item">
</TMPL_IF>
</center>
</form>
</body>
</html>