<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
<div id="main">
-<div class="table"><table>
- <caption>Patron Search Results</caption>
+ <h3>Results for Search: <span class="ex"><!-- TMPL_VAR NAME="member" --></span></h3>
+ <div class="results"><!-- TMPL_VAR Name ="numresults" --> patrons found.</div>
+<table>
<tr>
+ <th> </th>
<th>Card</th>
<th>Name</th>
<th>Cat</th>
<th>Address</th>
<th>OD/Issues</th>
-<!-- <th>Charges</th> -->
+ <!-- Hide from NPL --><th>Charges</th><!-- /Hide from NPL -->
<th>Notes</th>
<th> </th>
</tr>
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_IF -->
+ <td><!-- TMPL_VAR NAME="count" --></td>
<td><!-- TMPL_VAR NAME="cardnumber" --> (<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=<!-- TMPL_VAR NAME="cardnumber" -->" title="Issue to this Patron">Issue</a>)</td>
<td><a class="searchresults" href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --></a> </td>
<td><!-- TMPL_VAR NAME="categorycode" --></td>
<td><!-- TMPL_VAR NAME="streetaddress" --> <!-- TMPL_VAR NAME=city --></td>
<td><!-- TMPL_VAR NAME="odissue" --></td>
-<!-- <td><!-- TMPL_VAR NAME="fines" --></td> -->
+ <!-- Hide from NPL --><td><!-- TMPL_VAR NAME="fines" --></td><!-- /Hide from NPL -->
<td><div class="notes"><!-- TMPL_VAR NAME="borrowernotes" --></div></td>
<td><a href="/cgi-bin/koha/members/memberentry.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&modify=edit">Edit</a></td>
</tr>
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE --><td colspan="6">No results found</td><!-- /TMPL_IF -->
-</table></div>
+</table>
+
<div class="tabitem"><form action="/cgi-bin/koha/members/memberentry.pl" method="post"><input type="hidden" name="categorycode" value="" /><input type="hidden" name="actionType" value="Add" />
<input type="submit" class="submit" value="Add New Patron" /></form>
<form action="/cgi-bin/koha/members/memberentry.pl" method="post"><input type="hidden" name="categorycode" value="I" /><input type="hidden" name="actionType" value="Add" /><input type="submit" class="submit" value="Add New Institution" /></form>
<tr><th><label for="cardnumber"<!-- TMPL_IF NAME="ERROR_cardnumber" --> class="focus"<!-- /TMPL_IF --><!-- TMPL_IF NAME="ERROR_invalid_cardnumber" --> class="focus"<!-- /TMPL_IF -->><a name="cardnumber" id="cardnumber">Card Number</a></label></th><td><input id="cardnumber" type="text" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->"<!-- TMPL_IF NAME="ERROR_cardnumber" --> class="focus"<!-- /TMPL_IF --><!-- TMPL_IF NAME="ERROR_invalid_cardnumber" --> class="focus"<!-- /TMPL_IF -->></td></tr>
</table>
<table><caption>Additional Fields</caption>
- <tr><th><label for="sort1">Sorting field 1</label></th><td><input type="text" id="sort1" name="sort1" value="<!-- TMPL_VAR NAME="sort1" -->"></td><td rowspan="2"><p>These fields are available for your own usage. They can be useful for statistical purposes</p></td></tr>
- <tr><th><label for="sort2">Sorting field 2</label></th><td><input type="text" id="sort2" name="sort2" value="<!-- TMPL_VAR NAME="sort2" -->"></td></tr>
+ <tr><th><label for="sort1">Sorting field 1</label></th><td><!-- TMPL_IF Name="CGIsort1" -->
+ <!-- TMPL_VAR Name="CGIsort1" -->
+ <!-- TMPL_ELSE -->
+ <input type="text" name="sort1" id="sort1" value="<!-- TMPL_VAR NAME="sort1" -->" />
+ <!--/TMPL_IF --></td><td rowspan="2"><p>These fields are available for your own usage. They can be useful for statistical purposes</p></td></tr>
+ <tr><th><label for="sort2">Sorting field 2</label></th><td><!-- TMPL_IF Name="CGIsort2" -->
+ <!-- TMPL_VAR Name="CGIsort2" -->
+ <!-- TMPL_ELSE -->
+ <input type="text" name="sort2" id="sort2" value="<!-- TMPL_VAR NAME="sort2" -->" />
+ <!--/TMPL_IF --></td></tr>
</table>
</div>