1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Member Search › <!-- TMPL_VAR name="bookselname" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
7 function add_member(subscriptionid,borrowernumber){
8 var myurl = "routing.pl?subscriptionid="+subscriptionid+"&borrowernumber="+borrowernumber+"&op=add";
9 window.opener.location.href = myurl;
14 <style type="text/css">
15 #custom-doc { width:36.46em;*width:35.53em;min-width:430px; margin:auto; text-align:left; padding: 1em; }
19 <div id="custom-doc" class="yui-t7">
23 <div id="search" class="yui-g">
24 <form action="<!--TMPL_VAR Name="actionname"-->" method="get">
25 <input type="hidden" name="subscriptionid" id="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid"-->" />
26 <fieldset class="rows">
27 <legend> Filter :</legend>
29 <li><label for="member">Name:</label> <input type="hidden" name="surname" value="<!-- TMPL_VAR name="surname"-->" />
30 <input type="text" name="member" id="member" value="<!-- TMPL_VAR name="member"-->" /></li>
31 <li><label for="branchcode"> Library :</label><select name="branchcode" id="branchcode">
32 <option value="">Any</option><!-- TMPL_LOOP name="branchloop" -->
33 <!-- TMPL_IF NAME="selected" -->
34 <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="branchname" --></option><!-- TMPL_ELSE -->
35 <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="branchname" --></option><!-- /TMPL_IF -->
36 <!-- /TMPL_LOOP --></select></li>
37 <li><label for="categorycode">Category:</label><select name="categorycode" id="categorycode">
38 <option value="">Any</option><!-- TMPL_LOOP name="categoryloop" -->
39 <!-- TMPL_IF NAME="selected" -->
40 <option value="<!-- TMPL_VAR name="categorycode" -->" selected="selected"><!-- TMPL_VAR name="description" --></option><!-- TMPL_ELSE -->
41 <option value="<!-- TMPL_VAR name="categorycode" -->"><!-- TMPL_VAR name="description" --></option><!-- /TMPL_IF -->
42 <!-- /TMPL_LOOP --></select></li>
44 <fieldset class="action"><input type="submit" value="Search" /></fieldset>
48 <!-- TMPL_IF NAME="resultsloop" -->
49 <div id="searchheader" style="margin-top:.7em;"> <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>
50 <div class="searchresults">
52 <table id="memberresultst">
62 <!-- TMPL_LOOP NAME="resultsloop" -->
63 <!--TMPL_IF Name="__odd__"--><tr class="highlight"><!--TMPL_ELSE--><tr><!-- /TMPL_IF -->
64 <td><!-- TMPL_VAR NAME="cardnumber" --> </td>
65 <td><!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --> </td>
66 <td><!-- TMPL_VAR NAME="branchcode" --> </td>
67 <td><a onclick="add_member(<!-- TMPL_VAR
68 NAME="subscriptionid" -->,<!-- TMPL_VAR NAME="borrowernumber" -->); return false" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&op=add">Add</a></td></tr>
72 <div class="pages"><!--TMPL_IF Name="multipage"--><!--TMPL_VAR Name="paginationbar" --><!--/TMPL_IF--></div>
75 <!-- TMPL_IF NAME="searching" -->
76 <p>No results found</p>
79 <fieldset class="action"><a href="#" class="button close">Close</a></fieldset>
84 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->