Adding LCCN to z2950 searches
[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 <style type="text/css">body {margin: 1em; }</style>
14 </head>
15 <body>
16
17     <h2>Search for:</h2>
18     <!-- TMPL_IF NAME="title"--><p><strong>Title:</strong> <!-- TMPL_VAR NAME="title"--></p><!-- /TMPL_IF -->
19     <!-- TMPL_IF NAME="author"--><p><strong>Author:</strong> <!-- TMPL_VAR NAME="author"--></p><!-- /TMPL_IF -->
20     <!-- TMPL_IF NAME="isbn"--><p><strong>ISBN:</strong> <!-- TMPL_VAR NAME="isbn"--></p><!-- /TMPL_IF -->
21     <!-- TMPL_IF NAME="issn"--><p><strong>ISSN:</strong> <!-- TMPL_VAR NAME="issn"--></p><!-- /TMPL_IF -->
22     <!-- TMPL_IF NAME="lccn"--><p><strong>LCCN:</strong> <!-- TMPL_VAR NAME="lccn"--></p><!-- /TMPL_IF -->
23     
24 <!-- TMPL_IF name="opsearch" -->
25     
26     <form method="post" action="z3950_search.pl" name="f">
27     <fieldset class="rows"> 
28         <legend>Search these servers:</legend>
29         <input type="hidden" name="op" id="op" value="do_search" />
30     <input type="hidden" name="title" value="<!-- TMPL_VAR NAME="title" -->" />
31     <input type="hidden" name="author" value="<!-- TMPL_VAR NAME="author" -->" />
32     <input type="hidden" name="isbn" value="<!-- TMPL_VAR NAME="isbn" -->" />
33     <input type="hidden" name="issn" value="<!-- TMPL_VAR NAME="issn" -->" />
34     <input type="hidden" name="lccn" value="<!-- TMPL_VAR NAME="lccn" -->" />
35     <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
36     <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
37     <ol>
38     <!-- TMPL_LOOP name="serverloop" -->
39         <li class="radio">
40             <!-- TMPL_IF name="checked" -->
41                 <input type="checkbox" name="id" id="<!-- TMPL_VAR NAME="id" -->id" value="<!-- TMPL_VAR NAME="id" -->" checked="checked" />
42             <!-- TMPL_ELSE -->
43                 <input type="checkbox" name="id" id="<!-- TMPL_VAR NAME="id" -->id" value="<!-- TMPL_VAR NAME="id" -->" />
44             <!-- /TMPL_IF -->
45         <label for="<!-- TMPL_VAR NAME="id" -->id"><!-- TMPL_VAR NAME="host" --></label>
46         </li>
47     <!-- /TMPL_LOOP --></ol></fieldset>
48     <fieldset class="action"><input type="submit" class="submit" value="Submit" onclick="cursor :'wait'" /></fieldset>
49     </form>
50 <!-- TMPL_ELSE -->
51     <h2>Results</h2>
52     <table>
53     <tr>
54         <th>Server</th>
55         <th>Title</th>
56         <th>Author</th>
57         <th>ISBN</th>
58         <th>LCCN</th>
59         <th>&nbsp;</th>
60     </tr>
61     <!-- TMPL_IF name="breeding_loop" -->
62     <!-- TMPL_LOOP name="breeding_loop" -->
63         <!-- TMPL_IF NAME="breedingid" -->
64                 
65         <!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
66             <td><!-- TMPL_VAR name="server" --></td>
67             <td><!-- TMPL_VAR NAME="title" --></td>
68             <td><!-- TMPL_VAR NAME="author" --></td>
69             <td><!-- TMPL_VAR NAME="isbn" --></td>
70             <td><!-- TMPL_VAR NAME="lccn" --></td>
71             <td><a href="javascript:Import(<!-- TMPL_VAR NAME="breedingid" -->,<!-- TMPL_VAR NAME="biblionumber" -->)">Import</a></td> 
72         </tr>
73         <!-- /TMPL_IF -->
74     <!-- /TMPL_LOOP -->
75     <!-- TMPL_ELSE -->
76         <tr><td colspan="6">Nothing found</td></tr>
77     <!-- /TMPL_IF -->
78 </table>
79 <!-- /TMPL_IF -->
80
81 <!-- TMPL_IF name="numberpending" --><h3 align="center">Still <!-- TMPL_VAR NAME="numberpending" --> servers to search</h3><!-- /TMPL_IF -->
82
83 </body>
84 </html>
85