1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Patron Quick Search</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <script type="text/javascript">
6 // Set the value of the form field to the passed value and optionally shift
7 // focus and close the popup.
8 function FillForm(val,formname,formfield) {
10 document.forms[formname].elements[formfield].value = val;
12 // Uncomment below to shift focus after clicking link in popup.
13 document.forms[formname].elements[formfield].focus();
15 // Uncomment below to close popup after clicking link.
20 <div class="searchresults">
28 <!-- TMPL_IF NAME="resultsloop" -->
29 <!-- TMPL_LOOP NAME="resultsloop" -->
30 <!-- TMPL_IF NAME="background" -->
31 <tr class="highlight">
35 <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>
36 <td><!-- TMPL_VAR NAME="cardnumber" --></td>
37 <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>
38 <td><!-- TMPL_VAR NAME="streetaddress" --> <!-- TMPL_VAR NAME=city --></td>
43 <!-- TMPL_ELSE -->No results found<!-- /TMPL_IF -->
46 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->