New XML API
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / z3950 / searchresult.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Catalog: Advanced MARC Search<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
3
4
5 <!-- TMPL_IF NAME="refresh" -->
6                 <meta http-equiv="refresh" content="2; url=<!-- TMPL_VAR NAME="refresh" -->" />
7         <!-- /TMPL_IF -->
8
9 <div id="main-compact">
10 <table>
11 <!-- TMPL_IF name="opsearch" -->
12 <h3>Select Search Libraries</h3>
13
14
15 <form method="post" action="search.pl" name="f">
16
17 <input type="hidden" name="op" id="op" value="do_search" />
18 <input type="hidden" name="title" value=<!-- TMPL_VAR NAME="title" --> />
19 <input type="hidden" name="author" value=<!-- TMPL_VAR NAME="author" --> />
20 <input type="hidden" name="isbn" value=<!-- TMPL_VAR NAME="isbn" --> />
21 <input type="hidden" name="issn" value=<!-- TMPL_VAR NAME="issn" --> />
22 <input type="hidden" name="oldbiblionumber" value="<!-- TMPL_VAR NAME="oldbiblionumber" -->" />
23
24 <tr>
25                 <th>Library</th>
26                 <th>Select</th>
27 </tr>
28 <!-- TMPL_LOOP name="serverloop" -->
29                 <tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
30                         <td><!-- TMPL_VAR NAME="server" --></td>
31                         
32                         <td> <input type="checkbox" name="id" value=<!-- TMPL_VAR NAME="id" --> <!-- TMPL_IF name="checked" -->checked="1"<!-- /TMPL_IF --> ></td>
33         </tr>
34         <!-- /TMPL_LOOP -->
35         <tr><td><input type="submit"  class="submit" value="Search internet" onclick="cursor :'wait'";
36          /></td></tr></form>
37 <!-- TMPL_ELSE -->
38
39 <caption>Bibliographic Records Found</caption>
40         <tr>
41                 <th>Title</th>
42                 <th>Author</th>
43                 <th>ISBN</th>
44                 <th>coming from</th>
45                 <th>&nbsp;</th>
46                 <th>&nbsp;</th>
47         </tr>
48         <!-- TMPL_IF name="breeding_loop" -->
49         <!-- TMPL_LOOP name="breeding_loop" -->
50                 <tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
51                         <td><!-- TMPL_VAR NAME="title" --></a>
52                         <td><!-- TMPL_VAR NAME="author" --></td>
53                         <td><!-- TMPL_VAR NAME="isbn" --></td>
54                         <td><!-- TMPL_VAR NAME="server" --></td>
55                         <td><a href="javascript:Import(<!-- TMPL_VAR NAME="id" -->,<!-- TMPL_VAR NAME="oldbiblionumber" -->)">Import</a></td> 
56                 
57                 </tr>
58         <!-- /TMPL_LOOP -->
59         <!-- TMPL_ELSE -->
60                 <tr><td colspan="6">Nothing found</td></tr>
61         <!-- /TMPL_IF -->
62 </table>
63 <!-- /TMPL_IF -->
64
65 </div>
66 <!-- TMPL_IF name="numberpending" --><h3 align="center">Still <!-- TMPL_VAR NAME="numberpending" --> requests to go</h3><!-- /TMPL_IF -->
67 <script language="JavaScript" type="text/javascript">
68         function Import(GetThisOne,biblionumber) {
69                 opener.document.location= "../cataloguing/addbiblio.pl?oldbiblionumber="+biblionumber+"&z3950=1&breedingid="+GetThisOne;
70                 self.close();
71                 return false;
72         }
73 </script>
74 </div>
75 <!-- TMPL_INCLUDE name="acquisitions-bottom.inc" -->
76