Continuing addition of resident search form, other markup corrections.
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / z3950_search.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Z39.50 Search Results</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
5 //<![CDATA[
6     function Import(GetThisOne,biblionumber) {
7         opener.document.location="../cataloguing/addbiblio.pl?biblionumber="+biblionumber+"&z3950=1&frameworkcode=<!-- TMPL_VAR name="frameworkcode" -->&breedingid="+GetThisOne;
8         window.close();
9         return false;
10     }
11 //]]>
12 </script>
13 </head>
14 <body>
15
16     <h2>Search for</h2>
17     <!-- TMPL_IF NAME="title"--><p>Title: <!-- TMPL_VAR NAME="title"--></p><!-- /TMPL_IF -->
18     <!-- TMPL_IF NAME="author"--><p>Author: <!-- TMPL_VAR NAME="author"--></p><!-- /TMPL_IF -->
19     <!-- TMPL_IF NAME="isbn"--><p>ISBN: <!-- TMPL_VAR NAME="isbn"--></p><!-- /TMPL_IF -->
20     <!-- TMPL_IF NAME="issn"--><p>ISSN: <!-- TMPL_VAR NAME="issn"--></p><!-- /TMPL_IF -->
21     
22 <!-- TMPL_IF name="opsearch" -->
23     <h2>on following servers</h2>
24     
25     <form method="post" action="z3950_search.pl" name="f">
26     
27     <input type="hidden" name="op" id="op" value="do_search" />
28     <input type="hidden" name="title" value="<!-- TMPL_VAR NAME="title" -->" />
29     <input type="hidden" name="author" value="<!-- TMPL_VAR NAME="author" -->" />
30     <input type="hidden" name="isbn" value="<!-- TMPL_VAR NAME="isbn" -->" />
31     <input type="hidden" name="issn" value="<!-- TMPL_VAR NAME="issn" -->" />
32     <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
33     <input type="hidden" name="oldbiblionumber" value="<!-- TMPL_VAR NAME="oldbiblionumber" -->" />
34     
35     <!-- TMPL_LOOP name="serverloop" -->
36         <p>
37         <label><!-- TMPL_VAR NAME="host" --></label>
38             <!-- TMPL_IF name="checked" -->
39                 <input type="checkbox" name="id" value="<!-- TMPL_VAR NAME="id" -->" checked="checked" />
40             <!-- TMPL_ELSE -->
41                 <input type="checkbox" name="id" value="<!-- TMPL_VAR NAME="id" -->" />
42             <!-- /TMPL_IF -->
43         </p>
44     <!-- /TMPL_LOOP -->
45     <input type="submit"  class="submit" value="Search internet" onclick="cursor :'wait'" />
46     </form>
47 <!-- TMPL_ELSE -->
48     <h2>Results</h2>
49     <table>
50     <tr>
51         <th>Server</th>
52         <th>Title</th>
53         <th>Author</th>
54         <th>ISBN</th>
55         <th>&nbsp;</th>
56         <th>&nbsp;</th>
57     </tr>
58     <!-- TMPL_IF name="breeding_loop" -->
59     <!-- TMPL_LOOP name="breeding_loop" -->
60         <!-- TMPL_IF NAME="breedingid" -->
61         <tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
62             <td><!-- TMPL_VAR name="server" --></td>
63             <td><!-- TMPL_VAR NAME="title" --></td>
64             <td><!-- TMPL_VAR NAME="author" --></td>
65             <td><!-- TMPL_VAR NAME="isbn" --></td>
66             <td><a href="javascript:Import(<!-- TMPL_VAR NAME="breedingid" -->,<!-- TMPL_VAR NAME="biblionumber" -->)">Import</a></td> 
67         </tr>
68         <!-- /TMPL_IF -->
69     <!-- /TMPL_LOOP -->
70     <!-- TMPL_ELSE -->
71         <tr><td colspan="6">Nothing found</td></tr>
72     <!-- /TMPL_IF -->
73 </table>
74 <!-- /TMPL_IF -->
75
76 <!-- TMPL_IF name="numberpending" --><h3 align="center">Still <!-- TMPL_VAR NAME="numberpending" --> servers to search</h3><!-- /TMPL_IF -->
77
78 </body>
79 </html>
80