changing permissions on templates and scripts
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / 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 <h1>Search for guarantor</h1>
5         <form action="/cgi-bin/koha/members/guarantor_search.pl" method="post">
6                 <input type="text" name="member" value="<!-- TMPL_VAR NAME="member" -->"> Ordered by
7                 <select name="orderby">
8                         <option value="surname,firstname">Surname</option>
9                         <option value="cardnumber">Cardnumber</option>
10                 </select>
11                 <input type="submit" class="button" value="Search">
12         </form>
13 </div>
14
15 <!--TMPL_IF NAME="results" -->
16         <p>Searched for <!-- TMPL_VAR NAME="member" -->, <!-- TMPL_VAR Name ="numresults" --> borrower(s) found:</p>
17         <table>
18                 <tr>
19                         <th>Cardnumber</th>
20                         <th>Surname</th>
21                         <th>Firstname</th>
22                         <th>Date of birth</th>
23                         <th>Address</th>
24                 </tr>
25                 <!-- TMPL_LOOP NAME="resultsloop" -->
26                         <!-- TMPL_IF NAME="background" -->
27                                 <tr bgcolor="#ffffcc">
28                         <!-- TMPL_ELSE -->
29                                 <tr bgcolor="white">
30                         <!-- /TMPL_IF -->
31                                 <td><!-- TMPL_VAR NAME="cardnumber" --></td>
32                                 <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>
33                                 <td><b><!-- TMPL_VAR NAME="firstname" --></b></td> 
34                                 <td><!-- TMPL_VAR NAME="dateofbirth" --></td>
35                                 <td><p><!-- TMPL_VAR NAME="address" --> <!-- TMPL_VAR NAME="city" --></p></td>
36                         </tr>
37                 <!-- /TMPL_LOOP -->
38         </table>
39 </div>
40 </div>
41 <!--/TMPL_IF-->
42
43
44