Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials/member-search.tmpl
Jean-André Santoni 4335ab1438 (bug #3563) This replaces the library name by the branchname attached to the subscription, and hide streetaddesses in serials routing
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.
2009-09-30 11:30:11 +02:00

57 lines
1.7 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Member Search &rsaquo; <!-- 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" -->&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;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" -->