#custom-doc { width:36.46em;*width:35.53em;min-width:430px; margin:auto; text-align:left; padding: 1em; }
</style>
</head>
-<body>
+<body id="ser_member-search" class="ser">
<div id="custom-doc" class="yui-t7">
<div id="bd">
<ol>
<li><label for="member">Name:</label> <input type="hidden" name="surname" value="[% surname %]" />
<input type="text" name="member" id="member" value="[% member %]" /></li>
- <li><label for="branchcode"> Library :</label><select name="branchcode" id="branchcode">
+ <li><label for="branchcode"> Library:</label><select name="branchcode" id="branchcode">
<option value="">Any</option>[% FOREACH branchloo IN branchloop %]
[% IF ( branchloo.selected ) %]
<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>[% ELSE %]
<td>[% resultsloo.cardnumber %] </td>
<td>[% resultsloo.surname %], [% resultsloo.firstname %] </td>
<td>[% resultsloo.branchcode %] </td>
- <td><a onclick="add_member(<!-- TMPL_VAR
- NAME="subscriptionid" -->,[% resultsloo.borrowernumber %]); return false" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% resultsloo.subscriptionid %]&borrowernumber=[% resultsloo.borrowernumber %]&op=add">Add</a></td></tr>
+ <td><a onclick="add_member([% subscriptionid %],[% resultsloo.borrowernumber %]); return false" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% resultsloo.subscriptionid %]&borrowernumber=[% resultsloo.borrowernumber %]&op=add">Add</a></td></tr>
[% END %]
</tbody>
</table>