Koha/koha-tmpl/intranet-tmpl/prog/en/members/member-quicksearch-results.tmpl
kados 5f4542992a This is a minor change, but affects all templates:
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.
2007-03-11 21:08:11 +00:00

46 lines
1.7 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; 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>&nbsp;</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" -->