This is a minor change, but affects all templates:
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / members / member-quicksearch-results.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Patron Quick Search</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
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) {
9     
10         document.forms[formname].elements[formfield].value = val;
11
12         // Uncomment below to shift focus after clicking link in popup.
13         document.forms[formname].elements[formfield].focus();
14     
15         // Uncomment below to close popup after clicking link.
16         newwin.close();
17     }
18 </script>
19
20 <div class="searchresults">
21 <table>
22   <tr>
23       <th>&nbsp;</th>
24     <th>Card</th>
25     <th>Name (Cat.)</th>
26     <th>Address</th>
27   </tr>
28   <!-- TMPL_IF NAME="resultsloop" -->
29   <!-- TMPL_LOOP NAME="resultsloop" -->
30     <!-- TMPL_IF NAME="background" -->
31     <tr class="highlight">
32     <!-- TMPL_ELSE -->
33     <tr>
34     <!-- /TMPL_IF -->
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>
39     </tr>
40   <!-- /TMPL_LOOP -->
41   </table>
42   </div>
43   <!-- TMPL_ELSE -->No results found<!-- /TMPL_IF -->
44
45
46 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->