5f4542992a
previously, it wasn't possible to insert anything into the <head> on an individual template unless it was the title of the page. Now, the structure is a bit more flexible to allow additional head elements to be included.
60 lines
2 KiB
Cheetah
60 lines
2 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Label and Barcode Printing</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<!-- TMPL_INCLUDE name="masthead.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="label-topmenu.inc" -->
|
|
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->
|
|
<div id="main">
|
|
<h1>Labels to be Printed</h1>
|
|
<p>
|
|
Printing will start on <b>row <!-- TMPL_VAR NAME="startrow" --></b><br />
|
|
Printing will use <b><!-- TMPL_VAR NAME="sheets"--> sheets</b><br />
|
|
Currently <b><!-- TMPL_VAR NAME="labels_remaining"--> rows</b> spare on <b>sheet <!-- TMPL_VAR NAME="sheets"--></b>
|
|
</p>
|
|
|
|
<!-- TMPL_IF NAME="resultsloop" -->
|
|
<h2>Items</h2>
|
|
<table>
|
|
<tr>
|
|
<th>Label Number</th>
|
|
<th>Summary</th>
|
|
<th>Item Type</th>
|
|
<th>Delete</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="resultsloop" -->
|
|
<tr>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="labelno" -->
|
|
</td>
|
|
<td>
|
|
<b> <a href="/cgi-bin/koha/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"> <!-- TMPL_VAR NAME="title" -->:</a></b> <!-- TMPL_VAR NAME="author" -->:
|
|
<!-- TMPL_VAR NAME="isbn" -->: <!-- TMPL_VAR NAME="barcode" -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="itemtype" -->
|
|
</td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/barcodes/label-manager.pl?op=delete&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->">Delete</a>
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
|
|
<p><br />
|
|
<a href="#" onclick="Plugin(); return false;">Add Item</a>
|
|
<a href="/cgi-bin/koha/barcodes/label-print.pl">Preview</a>
|
|
<a href="/cgi-bin/koha/barcodes/label-manager.pl?op=deleteall">Delete All</a>
|
|
</p>
|
|
<!-- TMPL_ELSE -->
|
|
<a href="#" onclick="Plugin(); return false;">Add Item</a>
|
|
<!-- /TMPL_IF -->
|
|
</form>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
function Plugin() {
|
|
window.open('label-item-search.pl','FindABibIndex','width=500,height=400,toolbar=no,scrollbars=yes');
|
|
}
|
|
</script>
|
|
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|