Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tmpl
Henri-Damien LAURENT 8009593135 MT 2167 : orders of firstname surname
In result lists, the order was not the same as everywhere else
in Koha.
2009-11-10 22:23:48 +01:00

132 lines
6.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" -->
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
<script type="text/javascript">//<![CDATA[
$(document).ready(function() {
$("#memberresultst").tablesorter({
sortList: [[1,0]],
widgets: ['zebra']
});
});
//]]>
</script>
</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="doc3" class="yui-t3">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<div role="main" class="yui-g">
<!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
<div class="browse">
Browse by last name:
<a href="/cgi-bin/koha/members/member.pl?surname=a">A</a>
<a href="/cgi-bin/koha/members/member.pl?surname=b">B</a>
<a href="/cgi-bin/koha/members/member.pl?surname=c">C</a>
<a href="/cgi-bin/koha/members/member.pl?surname=d">D</a>
<a href="/cgi-bin/koha/members/member.pl?surname=e">E</a>
<a href="/cgi-bin/koha/members/member.pl?surname=f">F</a>
<a href="/cgi-bin/koha/members/member.pl?surname=g">G</a>
<a href="/cgi-bin/koha/members/member.pl?surname=h">H</a>
<a href="/cgi-bin/koha/members/member.pl?surname=i">I</a>
<a href="/cgi-bin/koha/members/member.pl?surname=j">J</a>
<a href="/cgi-bin/koha/members/member.pl?surname=k">K</a>
<a href="/cgi-bin/koha/members/member.pl?surname=l">L</a>
<a href="/cgi-bin/koha/members/member.pl?surname=m">M</a>
<a href="/cgi-bin/koha/members/member.pl?surname=n">N</a>
<a href="/cgi-bin/koha/members/member.pl?surname=o">O</a>
<a href="/cgi-bin/koha/members/member.pl?surname=p">P</a>
<a href="/cgi-bin/koha/members/member.pl?surname=q">Q</a>
<a href="/cgi-bin/koha/members/member.pl?surname=r">R</a>
<a href="/cgi-bin/koha/members/member.pl?surname=s">S</a>
<a href="/cgi-bin/koha/members/member.pl?surname=t">T</a>
<a href="/cgi-bin/koha/members/member.pl?surname=u">U</a>
<a href="/cgi-bin/koha/members/member.pl?surname=v">V</a>
<a href="/cgi-bin/koha/members/member.pl?surname=w">W</a>
<a href="/cgi-bin/koha/members/member.pl?surname=x">X</a>
<a href="/cgi-bin/koha/members/member.pl?surname=y">Y</a>
<a href="/cgi-bin/koha/members/member.pl?surname=z">Z</a>
</div>
<!-- TMPL_IF NAME="resultsloop" -->
<div id="searchheader"> <h3>Results <!-- TMPL_VAR Name ="from" --> to <!-- TMPL_VAR Name ="to" --> of <!-- TMPL_VAR Name ="numresults" --> found for <!--TMPL_IF Name="member"-->'<span class="ex"><!-- TMPL_VAR NAME="member" --></span>'<!--/TMPL_IF--><!--TMPL_IF Name="surname"-->'<span class="ex"><!-- TMPL_VAR NAME="surname" --></span>'<!--/TMPL_IF--></h3></div>
<div class="searchresults">
<table id="memberresultst">
<thead>
<tr>
<th>Card</th>
<th>Name</th>
<th>Cat</th>
<th>Library</th>
<th>Expires on</th>
<th>OD/Issues</th>
<th>Fines</th>
<th>Circ note</th>
<th>&nbsp;</th>
</tr>
</thead>
<tbody>
<!-- TMPL_LOOP NAME="resultsloop" -->
<!-- TMPL_IF name="overdue" -->
<tr class="problem">
<!-- TMPL_ELSE -->
<!-- TMPL_UNLESS name="__odd__" -->
<tr class="highlight">
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_UNLESS -->
<!-- /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="firstname" -->, <!-- TMPL_VAR NAME="surname" --></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>
<td><!-- TMPL_VAR NAME="category_description" --> (<!-- TMPL_VAR name="category_type" -->)</td>
<td><!-- TMPL_VAR NAME="branchcode" --></td>
<td><!-- TMPL_VAR NAME="dateexpiry" --></td>
<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>
<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 -->
</tbody>
</table>
<div class="pages"><!--TMPL_IF Name="multipage"--><!--TMPL_VAR Name="paginationbar" --><!--/TMPL_IF--></div>
</div>
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="searching" -->
No results found
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</div>
</div>
<div class="yui-g">
<!-- TMPL_INCLUDE NAME="members-menu.inc" -->
</div>
</div>
<div role="search" class="yui-b">
<!-- TMPL_INCLUDE NAME="search.tmpl" -->
</div>
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->