Koha/koha-tmpl/intranet-tmpl/prog/en/serials/acqui-search-result.tmpl
kados 5f4542992a This is a minor change, but affects all templates:
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.
2007-03-11 21:08:11 +00:00

35 lines
1 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Serials &rsaquo; Select Supplier</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<h1>Supplier Search Results</h1>
<h2>You searched on <b>supplier <!-- TMPL_VAR name="supplier" -->,</b> <!-- TMPL_VAR name="count" --> results found</h2>
<div class="searchresults">
<!-- TMPL_IF NAME="loop_suppliers" -->
<table>
<tr>
<th>Book seller</th>
<th>Select</th>
</tr>
<!-- TMPL_LOOP name="loop_suppliers" -->
<tr>
<td><!-- TMPL_VAR name="name" --></td>
<td><a href="#" onclick="javascript:GetIt(<!-- TMPL_VAR NAME="aqbooksellerid" -->,'<!-- TMPL_VAR escape="URL" NAME="name" -->')">Get It !</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- /TMPL_IF -->
<br />
<a href="javascript:back();">Perform a new search</a>
</div>
<script type="text/javascript" language="Javascript">
function GetIt(aqbooksellerid,name)
{
opener.document.f.aqbooksellerid.value = aqbooksellerid;
opener.document.f.aqbooksellername.value = name;
window.close();
}
</script>