bug 3464: Takes columns country and B_country of table borrowers into account in...
[wip/koha-chris_n.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / member.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Patrons <!-- TMPL_IF NAME="searching" -->&rsaquo; Search Results<!-- /TMPL_IF --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="patron-search.inc" -->
8
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <!-- TMPL_IF NAME="searching" --><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo; Search Results<!-- TMPL_ELSE -->Patrons<!-- /TMPL_IF --></div>
10
11 <div id="doc" class="yui-t7">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-g">
16         
17 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
18
19
20 <div class="browse">
21     Browse by last name:
22     <a href="/cgi-bin/koha/members/member.pl?member=a">A</a>
23     <a href="/cgi-bin/koha/members/member.pl?member=b">B</a>
24     <a href="/cgi-bin/koha/members/member.pl?member=c">C</a>
25     <a href="/cgi-bin/koha/members/member.pl?member=d">D</a>
26     <a href="/cgi-bin/koha/members/member.pl?member=e">E</a>
27     <a href="/cgi-bin/koha/members/member.pl?member=f">F</a>
28     <a href="/cgi-bin/koha/members/member.pl?member=g">G</a>
29     <a href="/cgi-bin/koha/members/member.pl?member=h">H</a>
30     <a href="/cgi-bin/koha/members/member.pl?member=i">I</a>
31     <a href="/cgi-bin/koha/members/member.pl?member=j">J</a>
32     <a href="/cgi-bin/koha/members/member.pl?member=k">K</a>
33     <a href="/cgi-bin/koha/members/member.pl?member=l">L</a>
34     <a href="/cgi-bin/koha/members/member.pl?member=m">M</a>
35     <a href="/cgi-bin/koha/members/member.pl?member=n">N</a>
36     <a href="/cgi-bin/koha/members/member.pl?member=o">O</a>
37     <a href="/cgi-bin/koha/members/member.pl?member=p">P</a>
38     <a href="/cgi-bin/koha/members/member.pl?member=q">Q</a>
39     <a href="/cgi-bin/koha/members/member.pl?member=r">R</a>
40     <a href="/cgi-bin/koha/members/member.pl?member=s">S</a>
41     <a href="/cgi-bin/koha/members/member.pl?member=t">T</a>
42     <a href="/cgi-bin/koha/members/member.pl?member=u">U</a>
43     <a href="/cgi-bin/koha/members/member.pl?member=v">V</a>
44     <a href="/cgi-bin/koha/members/member.pl?member=w">W</a>
45     <a href="/cgi-bin/koha/members/member.pl?member=x">X</a>
46     <a href="/cgi-bin/koha/members/member.pl?member=y">Y</a>
47     <a href="/cgi-bin/koha/members/member.pl?member=z">Z</a>
48 </div>
49
50
51 <!-- TMPL_IF NAME="resultsloop" -->
52    <div id="searchheader"> <h3>Results <!-- TMPL_VAR Name ="from" --> to <!-- TMPL_VAR Name ="to" --> of <!-- TMPL_VAR Name ="numresults" --> found for '<span class="ex"><!-- TMPL_VAR NAME="member" --></span>'</h3></div>
53 <div class="searchresults">
54
55     <table style="width:100%">
56     <tr>
57     <th><a href="member.pl?member=<!--TMPL_VAR Name="member" -->&amp;orderby=cardnumber">Card</a></th>
58     <th><a href="member.pl?member=<!--TMPL_VAR Name="member" -->&amp;orderby=surname">Name</a></th>
59     <th><a href="member.pl?member=<!--TMPL_VAR Name="member" -->&amp;orderby=borrowers.categorycode">Cat</a></th>
60     <th><a href="member.pl?member=<!--TMPL_VAR Name="member" -->&amp;orderby=branchcode">Library</a></th>
61     <th>Expires on</th>
62     <th>OD/Issues</th>
63     <th>Fines</th>
64     <th>Circ note</th>
65         <th>&nbsp;</th>
66     </tr>
67     <!-- TMPL_LOOP NAME="resultsloop" -->
68     <!-- TMPL_IF name="overdue" -->
69     <tr class="problem">
70     <!-- TMPL_ELSE -->
71     <!-- TMPL_UNLESS name="__odd__" -->
72     <tr class="highlight">
73     <!-- TMPL_ELSE -->
74     <tr>
75     <!-- /TMPL_UNLESS -->
76     <!-- /TMPL_IF -->
77     <td><!-- TMPL_VAR NAME="cardnumber" --></td>
78     <td style="white-space: nowrap;"><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --></a> <br /> <!-- TMPL_VAR NAME="address" --><!-- TMPL_IF NAME="address2" --><br /><!-- TMPL_VAR NAME="address2" --><!-- /TMPL_IF --><!-- TMPL_IF NAME="city" --><br /><!-- TMPL_VAR NAME=city --><!-- /TMPL_IF --><!-- TMPL_IF NAME="zipcode" -->  <!-- TMPL_VAR NAME="zipcode" --><!-- /TMPL_IF --><!-- TMPL_IF NAME="country" -->, <!-- TMPL_VAR NAME="country" --><!-- /TMPL_IF --></td>
79     <td><!-- TMPL_VAR NAME="category_description" --> (<!-- TMPL_VAR name="category_type" -->)</td>
80     <td><!-- TMPL_VAR NAME="branchcode" --></td>
81     <td><!-- TMPL_VAR NAME="dateexpiry" --></td>
82     <td><!-- TMPL_IF "overdues" --><span class="overdue"><strong><!-- TMPL_VAR NAME="overdues" --></strong></span><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="overdues" --><!-- /TMPL_IF -->/<!-- TMPL_VAR NAME="issues" --></td>
83     <td><!-- TMPL_VAR NAME="fines" --></td>
84     <td><!-- TMPL_VAR NAME="borrowernotes" --></td>
85         <td><!-- TMPL_IF NAME="category_type" -->
86             <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;category_type=<!-- TMPL_VAR NAME="category_type"-->">Edit</a>
87 <!-- TMPL_ELSE --> <!-- try with categorycode if no category_type -->
88         <!-- TMPL_IF NAME="categorycode" -->
89             <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;categorycode=<!-- TMPL_VAR NAME="categorycode"-->">Edit</a>
90     <!-- TMPL_ELSE --> <!-- if no categorycode, set category_type to A by default -->
91             <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;category_type=A">Edit</a>
92     <!-- /TMPL_IF -->
93 <!-- /TMPL_IF --></td>
94     </tr>
95     <!-- /TMPL_LOOP -->
96     </table>
97         <div class="pages"><!--TMPL_IF Name="multipage"--><!--TMPL_VAR Name="paginationbar" --><!--/TMPL_IF--></div>
98 </div>
99 <!-- TMPL_ELSE -->
100 <!-- TMPL_IF NAME="searching" -->
101 No results found
102 <!-- /TMPL_IF -->
103 <!-- /TMPL_IF -->
104
105 </div>
106 </div>
107
108 <div class="yui-b">
109 <!-- TMPL_INCLUDE NAME="members-menu.inc" -->
110 </div>
111 </div>
112 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->