Bug 10240: (follow-up) don't delete transactions if auth fails
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / result.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Serials &rsaquo; Search results</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
5 //<![CDATA[
6 function GetIt(bibno,title)
7 {
8     title = title.parents('tr').find('.title').text();
9     opener.document.f.biblionumber.value = bibno;
10     opener.document.f.title.value = title;
11     window.close();
12 }
13 //]]>
14 </script>
15 </head>
16 <body id="ser_result" class="ser">
17
18 <div id="doc" class="yui-t7">
19    <div id="bd">
20         
21
22 [% IF ( total ) %]
23 <h1>Search results from [% from %] to [% to %] of [% total %]</h1>
24 <table>
25     <tr>
26        <th>Title</th>
27        <th>Author</th>
28        <th>Publisher</th>
29        <th>Publication year</th>
30        <th>ISSN</th>
31            <th>&nbsp;</th>
32     </tr>
33     [% FOREACH resultsloo IN resultsloop %]
34         <tr>
35             <td class="title">[% resultsloo.title |html %] [% resultsloo.subtitle |html %]
36             </td>
37             <td>
38                 [% resultsloo.author |html %]
39             </td>
40             <td>
41                 [% resultsloo.publishercode |html %]
42             </td>
43             <td>
44                 [% resultsloo.publicationyear |html %]
45             </td>
46             <td>
47                 [% resultsloo.issn |html %]
48             </td>
49
50                         <td><a href="#" onclick="GetIt('[% resultsloo.biblionumber %]',$(this));" title="Choose this record">Choose</a></td>
51         </tr>
52     [% END %]
53     </table>
54 [% ELSE %]
55 <h2>No results found for <b>[% query %]</b></h2>
56 [% END %]
57 [% IF ( displayprev ) %]
58 <a href="/cgi-bin/koha/serials/subscription-bib-search.pl?op=do_search&amp;type=intranet&amp;startfrom=[% startfromprev |url %]&amp;q=[% query |url %]">&lt;&lt;</a>
59 [% END %]
60 [% IF ( displaynext ) %]
61 <a href="/cgi-bin/koha/serials/subscription-bib-search.pl?op=do_search&amp;type=intranet&amp;startfrom=[% startfromnext |url %]&amp;q=[% query |url %]">&gt;&gt;</a>
62 [% END %]
63 <p><a href="subscription-bib-search.pl">Search for another record</a></p>
64 <fieldset class="action"><a class="button close" href="#">Close</a></fieldset>
65 </div>
66
67 [% INCLUDE 'intranet-bottom.inc' %]