Cleanup on Serials. Markup corrections and cleanup, moving script blocks into header...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / member-search.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Member Search &rsaquo; <!-- TMPL_VAR name="bookselname" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
5 <!--
6
7 function add_member(subscriptionid,borrowernumber){
8      var myurl = "routing.pl?subscriptionid="+subscriptionid+"&borrowernumber="+borrowernumber+"&op=add";
9      window.opener.location.href = myurl;
10 }
11
12 //-->
13 </script>
14 <style type="text/css">
15    #custom-doc { width:38.46em;*width:37.53em;min-width:500px; margin:auto; text-align:left; }
16    </style>
17 </head>
18 <body>
19
20 <div id="custom-doc" class="yui-t7">
21    <div id="bd">
22         <div class="yui-g">
23
24 <h1>Member Search</h1>
25
26 <p>
27 <form name="search" action="/cgi-bin/koha/serials/member-search.pl" method="post">
28 <input type="text" name="member" size="30" />
29 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->">
30 <input type="submit" class="button" value="Search" />
31 </form>
32 </p>
33 <!-- TMPL_IF NAME="memberloop" -->
34 <div class="searchresults">
35 <table cellspacing="0" cellpadding="0" border="0" width="480" class="collapse">
36 <tr><th>Name</th>
37     <th>Location</th>
38     <th>Add</th></tr>
39 <!-- TMPL_LOOP NAME="memberloop" -->
40 <tr><td><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></td>
41     <td><!-- TMPL_VAR NAME="streetaddress" --></td>
42     <td><a href="#" onclick="add_member(<!-- TMPL_VAR
43 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>
44 <!-- /TMPL_LOOP -->
45         </table></td></tr>
46 </table>
47 </div>
48 <!-- TMPL_ELSE -->
49     <!-- TMPL_IF NAME="member" -->
50         <p>No results found</p>
51     <!-- /TMPL_IF -->
52 <!-- /TMPL_IF -->
53
54 <p><a href="javascript:window.close()" class="button">Close</a></p>
55
56 </div>
57 </div>
58
59 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->