dd9bd605bd5dc6e0d49f157826fadf773b71a7b1
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / cataloguing / z3950_search.tmpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>Z39.50 Search Results</title>
6     <!-- TMPL_IF NAME="TemplateEncoding" --><meta http-equiv="Content-Type" content="text/html; charset=<!-- TMPL_VAR NAME="TemplateEncoding" -->"><!-- TMPL_ELSE --><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><!-- /TMPL_IF -->
7 <link rel="shortcut icon" href="/intranet-tmpl/prog/en/includes/favicon.ico" type="image/x-icon" />
8 <style type="text/css"> 
9     <!-- TMPL_IF NAME="intranetstylesheet" -->@import url(<!-- TMPL_VAR NAME='themelang' -->/includes/<!-- TMPL_VAR NAME="intranetstylesheet" -->);<!-- TMPL_ELSE -->@import url(<!-- TMPL_VAR NAME='themelang' -->/includes/intranet.css);<!-- /TMPL_IF -->
10     <!-- TMPL_IF NAME="intranetcolorstylesheet" -->@import url(<!-- TMPL_VAR NAME='themelang' -->/includes/<!-- TMPL_VAR NAME="intranetcolorstylesheet" -->);<!-- /TMPL_IF -->
11 </style>
12 </head>
13
14 <body>
15 <div id="main-compact">
16
17     <h2>Search for</h2>
18     <!-- TMPL_IF NAME='title'--><p>Title: <!-- TMPL_VAR NAME='title'--></p><!-- /TMPL_IF -->
19     <!-- TMPL_IF NAME='author'--><p>Author: <!-- TMPL_VAR NAME='author'--></p><!-- /TMPL_IF -->
20     <!-- TMPL_IF NAME='isbn'--><p>ISBN: <!-- TMPL_VAR NAME='isbn'--></p><!-- /TMPL_IF -->
21     <!-- TMPL_IF NAME='issn'--><p>ISSN: <!-- TMPL_VAR NAME='issn'--></p><!-- /TMPL_IF -->
22     
23 <!-- TMPL_IF name="opsearch" -->
24     <h2>on following servers</h2>
25     
26     <form method="post" action="z3950_search.pl" name="f">
27     
28     <input type="hidden" name="op" id="op" value="do_search" />
29     <input type="hidden" name="title" value="<!-- TMPL_VAR NAME="title" -->" />
30     <input type="hidden" name="author" value="<!-- TMPL_VAR NAME="author" -->" />
31     <input type="hidden" name="isbn" value="<!-- TMPL_VAR NAME="isbn" -->" />
32     <input type="hidden" name="issn" value="<!-- TMPL_VAR NAME="issn" -->" />
33     <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
34     <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
35     
36     <!-- TMPL_LOOP name="serverloop" -->
37         <p>
38         <label><!-- TMPL_VAR NAME="host" --></label>
39             <!-- TMPL_IF name="checked" -->
40                 <input type="checkbox" name="id" value="<!-- TMPL_VAR NAME="id" -->" checked />
41             <!-- TMPL_ELSE -->
42                 <input type="checkbox" name="id" value="<!-- TMPL_VAR NAME="id" -->" />
43             <!-- /TMPL_IF -->
44         </p>
45     <!-- /TMPL_LOOP -->
46     <input type="submit"  class="submit" value="Search internet" onclick="cursor :'wait'"/>
47     </form>
48 <!-- TMPL_ELSE -->
49     <h2>Results</h2>
50     <table>
51     <tr>
52         <th>Server</th>
53         <th>Title</th>
54         <th>Author</th>
55         <th>ISBN</th>
56         <th>&nbsp;</th>
57         <th>&nbsp;</th>
58     </tr>
59     <!-- TMPL_IF name="breeding_loop" -->
60     <!-- TMPL_LOOP name="breeding_loop" -->
61         <!-- TMPL_IF NAME="breedingid" -->
62         <tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
63             <td><!-- TMPL_VAR name="server" --></td>
64             <td><!-- TMPL_VAR NAME="title" --></td>
65             <td><!-- TMPL_VAR NAME="author" --></td>
66             <td><!-- TMPL_VAR NAME="isbn" --></td>
67             <td><a href="javascript:Import(<!-- TMPL_VAR NAME="breedingid" -->,<!-- TMPL_VAR NAME="biblionumber" -->)">Import</a></td> 
68         </tr>
69         <!-- /TMPL_IF -->
70     <!-- /TMPL_LOOP -->
71     <!-- TMPL_ELSE -->
72         <tr><td colspan="6">Nothing found</td></tr>
73     <!-- /TMPL_IF -->
74 </table>
75 <!-- /TMPL_IF -->
76
77 </div>
78 <!-- TMPL_IF name="numberpending" --><h3 align="center">Still <!-- TMPL_VAR NAME="numberpending" --> servers to search</h3><!-- /TMPL_IF -->
79 <script language="JavaScript" type="text/javascript">
80     function Import(GetThisOne,biblionumber) {
81         opener.document.location="../cataloguing/addbiblio.pl?biblionumber="+biblionumber+"&z3950=1&frameworkcode=<!-- TMPL_VAR name="frameworkcode" -->&breedingid="+GetThisOne;
82         window.close();
83         return false;
84     }
85 </script>
86 </div>
87 </body>
88 </html>
89