94abcf6d98
Removed toggle variable from acqui-search-result.pl. Added highlighting using __odd__ to acqui-search-result.tmpl. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
46 lines
1.3 KiB
Cheetah
46 lines
1.3 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Serials › Select Vendor</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<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>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="doc" class="yui-t7">
|
|
<div id="bd">
|
|
|
|
|
|
<h1>Vendor Search Results</h1>
|
|
<h2>You searched on <b>vendor <!-- TMPL_VAR name="supplier" -->,</b> <!-- TMPL_VAR name="count" --> results found</h2>
|
|
|
|
<!-- TMPL_IF NAME="loop_suppliers" -->
|
|
<table>
|
|
<tr>
|
|
<th>Vendor</th>
|
|
<th>Select</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP name="loop_suppliers" -->
|
|
<!-- TMPL_UNLESS name="__odd__">
|
|
<tr class="highlight">
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<!-- /TMPL_UNLESS -->
|
|
<td><!-- TMPL_VAR name="name" --></td>
|
|
<td><a href="#" onclick="GetIt(<!-- TMPL_VAR NAME="aqbooksellerid" -->,'<!-- TMPL_VAR escape="URL" NAME="name" -->')">Choose</a></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<p><a href="/cgi-bin/koha/serials/acqui-search.pl">Perform a new search</a> <a class="button" href="#" onclick="window.close()">Close</a></p>
|
|
|
|
</div>
|
|
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|