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.
35 lines
1 KiB
Cheetah
35 lines
1 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Serials › 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>
|
|
|