a2bc823707
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
89 lines
3.4 KiB
Cheetah
89 lines
3.4 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Tools › Rotating Collections › Add/Remove Items</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating Collections</a> › Add/Remove Items</div>
|
|
|
|
<div id="doc3">
|
|
<div id="bd">
|
|
<div class="yui-gb">
|
|
|
|
<h1>Rotating Collections: Add/Remove Items</h1>
|
|
|
|
<div>
|
|
<br />
|
|
<!-- TMPL_IF NAME="previousActionAdd" -->
|
|
<!-- TMPL_IF NAME="addSuccess" -->
|
|
<div>Item with barcode '<!-- TMPL_VAR NAME="addedBarcode" -->' Added Successfully!</div>
|
|
<!-- TMPL_ELSE -->
|
|
<div>Failed to add item with barcode '<!-- TMPL_VAR NAME="addedBarcode" -->'!</div>
|
|
<div>Reason: <strong><!-- TMPL_VAR NAME="failureMessage" --></strong></div>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="previousActionRemove" -->
|
|
<!-- TMPL_IF NAME="removeSuccess" -->
|
|
<div>Item with barcode '<!-- TMPL_VAR NAME="addedBarcode" -->' Removed Successfully!</div>
|
|
<!-- TMPL_ELSE -->
|
|
<div>Failed to remove item with barcode '<!-- TMPL_VAR NAME="removedBarcode" -->'!</div>
|
|
<div>Reason: <strong><!-- TMPL_VAR NAME="failureMessage" --></strong></div>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
<h3>Add Item to <i><!-- TMPL_VAR NAME="colTitle" --></i></h3>
|
|
</div>
|
|
|
|
<div>
|
|
<form action="addItems.pl" method="post">
|
|
<table>
|
|
<tr>
|
|
<th><label for="barcode">Barcode: </label></td>
|
|
<td><input type="text" id="barcode" name="barcode" /></td>
|
|
<td>
|
|
<input type="checkbox" name="removeItem" <!-- TMPL_IF NAME="removeChecked" -->checked<!-- /TMPL_IF--> >
|
|
<label for="removeItem">Remove Item from Collection</label>
|
|
</td>
|
|
</tr>
|
|
|
|
<input type="hidden" id="colId" name="colId" value="<!-- TMPL_VAR NAME="colId" -->" />
|
|
<input type="hidden" name="action" value="addItem" />
|
|
<tr><td align="right" colspan="99"><input type="submit" value="Submit" /></td></tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
|
|
<div>
|
|
<h2>Items In This Collection</h2>
|
|
<!-- TMPL_IF NAME="collectionItemsLoop" -->
|
|
<table>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Callnumber</th>
|
|
<th>Barcode</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="collectionItemsLoop" -->
|
|
<tr>
|
|
<td><!-- TMPL_VAR NAME="title" ESCAPE="html" --></td>
|
|
<td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
|
|
<td><!-- TMPL_VAR NAME="barcode" --></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
<!-- TMPL_ELSE -->
|
|
There are no Items in this Collection.
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
|
|
<div>
|
|
<br/>
|
|
<input type="button" value="Return to Rotating Collections Home" onclick="window.location.href='rotatingCollections.pl'">
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|
|
|