Continuing integration of breadcrumbs and resident search form, now on member pages...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / guarantor_search.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Guarantor Search</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6
7 <div id="doc" class="yui-t7">
8    <div id="bd">
9         
10
11 <h1>Search for guarantor</h1>
12         <form action="/cgi-bin/koha/members/guarantor_search.pl" method="post">
13                 <input type="text" name="member" value="<!-- TMPL_VAR NAME="member" -->" /> Ordered by
14                 <select name="orderby">
15                         <option value="surname,firstname">Surname</option>
16                         <option value="cardnumber">Cardnumber</option>
17                 </select>
18                 <input type="submit" class="button" value="Search" />
19         </form>
20
21 <!--TMPL_IF NAME="results" -->
22         <p>Searched for <!-- TMPL_VAR NAME="member" -->, <!-- TMPL_VAR Name ="numresults" --> borrower(s) found:</p>
23         <table>
24                 <tr>
25                         <th>Cardnumber</th>
26                         <th>Surname</th>
27                         <th>Firstname</th>
28                         <th>Date of birth</th>
29                         <th>Address</th>
30                 </tr>
31                 <!-- TMPL_LOOP NAME="resultsloop" -->
32                         <tr>
33                                 <td><!-- TMPL_VAR NAME="cardnumber" --></td>
34                                 <td><p><a href="javascript:window.opener.document.form.guarantorid.value=<!-- TMPL_VAR NAME="borrowernumber" -->;window.opener.document.form.guarantorsearch.value='Modify Guarantor';window.opener.document.form.guarantorinfo.value='<!-- TMPL_VAR NAME="guarantorinfo" -->';self.close();"><!-- TMPL_VAR NAME="surname" --></a></p>
35                                 <td><b><!-- TMPL_VAR NAME="firstname" --></b></td> 
36                                 <td><!-- TMPL_VAR NAME="dateofbirth" --></td>
37                                 <td><p><!-- TMPL_VAR NAME="address" --> <!-- TMPL_VAR NAME="city" --></p></td>
38                         </tr>
39                 <!-- /TMPL_LOOP -->
40         </table>
41 <!--/TMPL_IF-->
42
43 </div>
44 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->