]> git.koha-community.org Git - koha.git/blob - koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tmpl
Add z39.50 search form distinct from MARC editor
[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 <h2>Search Z39.50 Targets:</h2>
17 <!-- TMPL_IF name="opsearch" -->
18 <div class="formfields">
19     <form method="post" action="z3950_search.pl" name="f">
20     <input type="hidden" name="op" id="op" value="do_search" />
21     <!-- <fieldset class="rows"> 
22         <legend>Search these servers:</legend>
23 -->
24 <table>
25 <caption>Search points</caption>
26         <tr>
27                 <td> <label for="title">Title</label> <input type="text" id="title"  name="title" value="<!-- TMPL_VAR NAME="title" -->" /></td>
28                 <td> <label for="author">Author</label> <input type="text" name="author" value="<!-- TMPL_VAR NAME="author" -->" /></td></tr>
29         <tr> 
30                 <td> <label for=isbn"">ISBN/ISSN</label> <input type="text" name="isbn" value="<!-- TMPL_VAR NAME="isbn" -->" /></td>
31                         <!--  <label for="Keyword">Keyword</label> <input type="text" name="keyword" value="" /> -->
32                 <td>  <label for="subject">Subject Heading</label> <input type="text" name="subject heading" value="" /></td></tr>
33         <tr> 
34                 <td> <label for="lccall">LC Call Number</label> <input type="text" name="lccall" value="" /></td>
35                 <td> <label for="dewey">Dewey</label> <input type="text" name="dewey" value="" /></td></tr>
36 </table>
37
38     <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
39     <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
40 </div>
41 <h2>Search targets:</h2>
42     <!-- TMPL_LOOP name="serverloop" -->
43         <p> 
44             <!-- TMPL_IF name="checked" -->
45                 <input type="checkbox" name="id" id="z3950_<!-- TMPL_VAR NAME="id" -->" value="<!-- TMPL_VAR NAME="id" -->" checked="checked" />
46             <!-- TMPL_ELSE -->
47                 <input type="checkbox" name="id" id="z3950_<!-- TMPL_VAR NAME="id" -->" value="<!-- TMPL_VAR NAME="id" -->" />
48             <!-- /TMPL_IF -->
49             <label for="z3950_<!-- TMPL_VAR NAME="id" -->"><!-- TMPL_VAR NAME="name" --> [<!-- TMPL_VAR NAME="host" -->]</label>  
50
51         </p>
52     <!-- /TMPL_LOOP -->
53     <input type="submit"  class="submit" value="Search" onclick="cursor :'wait'"/>
54     </form>
55 <!-- TMPL_ELSE -->
56     <h2>Results</h2>
57     <table>
58     <tr>
59         <th>Server</th>
60         <th>Title</th>
61         <th>Author</th>
62         <th>ISBN</th>
63         <th>LCCN</th>
64         <th>&nbsp;</th>
65     </tr>
66     <!-- TMPL_IF name="breeding_loop" -->
67     <!-- TMPL_LOOP name="breeding_loop" -->
68         <!-- TMPL_IF NAME="breedingid" -->
69                 
70         <!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
71             <td><!-- TMPL_VAR name="server" --></td>
72             <td><!-- TMPL_VAR NAME="title" --></td>
73             <td><!-- TMPL_VAR NAME="author" --></td>
74             <td><!-- TMPL_VAR NAME="isbn" --></td>
75             <td><!-- TMPL_VAR NAME="lccn" --></td>
76             <td><a href="javascript:Import(<!-- TMPL_VAR NAME="breedingid" -->,<!-- TMPL_VAR NAME="biblionumber" -->)">Import</a></td> 
77         </tr>
78         <!-- /TMPL_IF -->
79     <!-- /TMPL_LOOP -->
80     <!-- TMPL_ELSE -->
81         <tr><td colspan="6">Nothing found</td></tr>
82     <!-- /TMPL_IF -->
83 </table>
84 <!-- /TMPL_IF -->
85
86 <!-- TMPL_IF name="numberpending" --><h3 align="center">Still <!-- TMPL_VAR NAME="numberpending" --> servers to search</h3><!-- /TMPL_IF -->
87
88 </body>
89 </html>
90