4335ab1438
In routing-preview, the title should be the branchname attached to the subscription instead of the libraryname. And showing the streetaddress of the members is useless, and harm privacy.
57 lines
1.7 KiB
Cheetah
57 lines
1.7 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:37.46em;*width:36.53em;min-width:430px; margin:auto; text-align:left; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="custom-doc" class="yui-t7">
|
|
<div id="bd">
|
|
|
|
|
|
<h1>Member Search</h1>
|
|
|
|
|
|
<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>
|
|
|
|
<!-- TMPL_IF NAME="memberloop" -->
|
|
<div class="searchresults">
|
|
<table>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Add</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="memberloop" -->
|
|
<tr><td><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></td>
|
|
<td><a 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>
|
|
</div>
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF NAME="member" -->
|
|
<p>No results found</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
<p><a href="#" class="button close">Close</a></p>
|
|
|
|
</div>
|
|
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|