Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tmpl
Henri-Damien LAURENT 7f2d6b025f Bug FIX : 437 'Browse Members' function should return paged results
Adding pagination_bar to results if needed.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 18:07:23 -06:00

111 lines
5.4 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Patrons <!-- TMPL_IF NAME="searching" -->&rsaquo; Search Results<!-- /TMPL_IF --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="patron-search.inc" -->
<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>
<div id="doc" class="yui-t7">
<div id="bd">
<div id="yui-main">
<div class="yui-g">
<!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
<div>
Browse by last name:
<a href="/cgi-bin/koha/members/member.pl?member=a">A</a>
<a href="/cgi-bin/koha/members/member.pl?member=b">B</a>
<a href="/cgi-bin/koha/members/member.pl?member=c">C</a>
<a href="/cgi-bin/koha/members/member.pl?member=d">D</a>
<a href="/cgi-bin/koha/members/member.pl?member=e">E</a>
<a href="/cgi-bin/koha/members/member.pl?member=f">F</a>
<a href="/cgi-bin/koha/members/member.pl?member=g">G</a>
<a href="/cgi-bin/koha/members/member.pl?member=h">H</a>
<a href="/cgi-bin/koha/members/member.pl?member=i">I</a>
<a href="/cgi-bin/koha/members/member.pl?member=j">J</a>
<a href="/cgi-bin/koha/members/member.pl?member=k">K</a>
<a href="/cgi-bin/koha/members/member.pl?member=l">L</a>
<a href="/cgi-bin/koha/members/member.pl?member=m">M</a>
<a href="/cgi-bin/koha/members/member.pl?member=n">N</a>
<a href="/cgi-bin/koha/members/member.pl?member=o">O</a>
<a href="/cgi-bin/koha/members/member.pl?member=p">P</a>
<a href="/cgi-bin/koha/members/member.pl?member=q">Q</a>
<a href="/cgi-bin/koha/members/member.pl?member=r">R</a>
<a href="/cgi-bin/koha/members/member.pl?member=s">S</a>
<a href="/cgi-bin/koha/members/member.pl?member=t">T</a>
<a href="/cgi-bin/koha/members/member.pl?member=u">U</a>
<a href="/cgi-bin/koha/members/member.pl?member=v">V</a>
<a href="/cgi-bin/koha/members/member.pl?member=w">W</a>
<a href="/cgi-bin/koha/members/member.pl?member=x">X</a>
<a href="/cgi-bin/koha/members/member.pl?member=y">Y</a>
<a href="/cgi-bin/koha/members/member.pl?member=z">Z</a>
</div>
<!-- TMPL_IF NAME="resultsloop" -->
<h3>Results for Search: <span class="ex"><!-- TMPL_VAR NAME="member" --></span></h3>
<div class="results"><!-- TMPL_VAR Name ="numresults" --> patrons found<br/>
Page : <!-- TMPL_VAR Name ="startfrom" --> Results <!-- TMPL_VAR Name ="from" --> to <!-- TMPL_VAR Name ="to" --></div>
<div class="searchresults">
<p align="center"><!--TMPL_IF Name="multipage"--><!--TMPL_VAR Name="paginationbar" --><!--/TMPL_IF--></p>
<table>
<tr>
<th><a href="member.pl?member=<!--TMPL_VAR Name="member" -->&amp;orderby=cardnumber">Card</a></th>
<th><a href="member.pl?member=<!--TMPL_VAR Name="member" -->&amp;orderby=surname">Name</a></th>
<th><a href="member.pl?member=<!--TMPL_VAR Name="member" -->&amp;orderby=borrowers.categorycode">Cat</a></th>
<th><a href="member.pl?member=<!--TMPL_VAR Name="member" -->&amp;orderby=branchcode">Branch</a></th>
<th>OD/Issues</th>
<th>Fines</th>
<th>Notes</th>
<th>&nbsp;</th>
</tr>
<!-- TMPL_LOOP NAME="resultsloop" -->
<!-- TMPL_IF name="overdue" -->
<tr class="problem">
<!-- TMPL_ELSE -->
<!-- TMPL_IF name="toggle" -->
<tr class="highlight">
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="cardnumber" --></td>
<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 --></td>
<td><!-- TMPL_VAR NAME="category_description" --> (<!-- TMPL_VAR name="category_type" -->)</td>
<td><!-- TMPL_VAR NAME="branchcode" --></td>
<td><!-- TMPL_VAR NAME="odissue" --></td>
<td><!-- TMPL_VAR NAME="fines" --></td>
<td><!-- TMPL_VAR NAME="borrowernotes" --></td>
<td><!-- TMPL_IF NAME="category_type" -->
<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>
<!-- TMPL_ELSE --> <!-- try with categorycode if no category_type -->
<!-- TMPL_IF NAME="categorycode" -->
<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>
<!-- TMPL_ELSE --> <!-- if no categorycode, set category_type to A by default -->
<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>
<!-- /TMPL_IF -->
<!-- /TMPL_IF --></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="searching" -->
No results found
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</div>
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="members-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->