Merge branch 'bug_9850' into 3.14-master
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / z3950 / searchresult.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Z39.50 search results</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
5 //<![CDATA[
6     function Import(GetThisOne) {
7         opener.document.location= "../cataloguing/addbiblio.pl?z3950=1&oldbiblionumber=[% oldbiblionumber %]&breedingid="+GetThisOne;
8         self.close();
9         return false;
10     }
11 //]]>
12 </script>
13 </head>
14 <body id="cat_searchresult" class="cat">
15
16     <h2>Z3950 search results</h2>
17     
18     [% IF ( breeding_loop ) %]
19 <table>
20     <tr>
21         <th>Title</th>
22         <th>Author</th>
23         <th>ISBN</th>
24         <th>Coming from</th>
25         <th>&nbsp;</th>
26         <th>&nbsp;</th>
27     </tr>
28                 [% FOREACH breeding_loo IN breeding_loop %]
29         <tr bgcolor="[% breeding_loo.toggle %]">
30                         <td>[% breeding_loo.title |html %]</td>
31             <td>[% breeding_loo.author %]</td>
32             <td>[% breeding_loo.isbn %]</td>
33             <td>[% breeding_loo.file %]</td>
34             <td><a href="javascript:Import([% breeding_loo.id %])">Import this biblio</a></td>
35         </tr>
36     [% END %]
37         </table>
38     [% ELSE %]
39                 <p>Nothing found</p>
40     [% END %]
41     [% IF ( numberpending ) %]<h1>Still [% numberpending %] requests to go</h1>[% END %]
42     
43
44 </body>
45 </html>