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.
46 lines
1.7 KiB
Cheetah
46 lines
1.7 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Patron Quick Search</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
|
|
<script type="text/javascript">
|
|
// Set the value of the form field to the passed value and optionally shift
|
|
// focus and close the popup.
|
|
function FillForm(val,formname,formfield) {
|
|
|
|
document.forms[formname].elements[formfield].value = val;
|
|
|
|
// Uncomment below to shift focus after clicking link in popup.
|
|
document.forms[formname].elements[formfield].focus();
|
|
|
|
// Uncomment below to close popup after clicking link.
|
|
newwin.close();
|
|
}
|
|
</script>
|
|
|
|
<div class="searchresults">
|
|
<table>
|
|
<tr>
|
|
<th> </th>
|
|
<th>Card</th>
|
|
<th>Name (Cat.)</th>
|
|
<th>Address</th>
|
|
</tr>
|
|
<!-- TMPL_IF NAME="resultsloop" -->
|
|
<!-- TMPL_LOOP NAME="resultsloop" -->
|
|
<!-- TMPL_IF NAME="background" -->
|
|
<tr class="highlight">
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<!-- /TMPL_IF -->
|
|
<td><form action="member-search-results.pl" method="get"><input type="button" value="Choose" title="Choose this Patron" onclick="window.opener.FillForm('<!-- TMPL_VAR NAME="cardnumber" -->','mainform','member'); return false;" /></form></td>
|
|
<td><!-- TMPL_VAR NAME="cardnumber" --></td>
|
|
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --></a> (<!-- TMPL_VAR NAME="categorycode" -->)</td>
|
|
<td><!-- TMPL_VAR NAME="streetaddress" --> <!-- TMPL_VAR NAME=city --></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
</div>
|
|
<!-- TMPL_ELSE -->No results found<!-- /TMPL_IF -->
|
|
|
|
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|