59 lines
2 KiB
Cheetah
59 lines
2 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Member Search › <!-- TMPL_VAR name="bookselname" --></title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<script type="text/javascript">
|
|
<!--
|
|
|
|
function add_member(subscriptionid,borrowernumber){
|
|
var myurl = "routing.pl?subscriptionid="+subscriptionid+"&borrowernumber="+borrowernumber+"&op=add";
|
|
window.opener.location.href = myurl;
|
|
}
|
|
|
|
//-->
|
|
</script>
|
|
<style type="text/css">
|
|
#custom-doc { width:38.46em;*width:37.53em;min-width:500px; margin:auto; text-align:left; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="custom-doc" class="yui-t7">
|
|
<div id="bd">
|
|
<div class="yui-g">
|
|
|
|
<h1>Member Search</h1>
|
|
|
|
<p>
|
|
<form name="search" action="/cgi-bin/koha/serials/member-search.pl" method="post">
|
|
<input type="text" name="member" size="30" />
|
|
<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->">
|
|
<input type="submit" class="button" value="Search" />
|
|
</form>
|
|
</p>
|
|
<!-- TMPL_IF NAME="memberloop" -->
|
|
<div class="searchresults">
|
|
<table cellspacing="0" cellpadding="0" border="0" width="480" class="collapse">
|
|
<tr><th>Name</th>
|
|
<th>Location</th>
|
|
<th>Add</th></tr>
|
|
<!-- TMPL_LOOP NAME="memberloop" -->
|
|
<tr><td><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></td>
|
|
<td><!-- TMPL_VAR NAME="streetaddress" --></td>
|
|
<td><a href="#" onclick="add_member(<!-- TMPL_VAR
|
|
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>
|
|
<!-- /TMPL_LOOP -->
|
|
</table></td></tr>
|
|
</table>
|
|
</div>
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF NAME="member" -->
|
|
<p>No results found</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
<p><a href="javascript:window.close()" class="button">Close</a></p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|