Fixing typo in value_builder/dateaccessioned.pl; Adding error message output to addit...
[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     
23 <!-- TMPL_IF name="opsearch" -->
24     
25     <form method="post" action="z3950_search.pl" name="f">
26     <fieldset class="rows"> 
27         <legend>Search these servers:</legend>
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     <ol>
36     <!-- TMPL_LOOP name="serverloop" -->
37         <li class="radio">
38             <!-- TMPL_IF name="checked" -->
39                 <input type="checkbox" name="id" id="<!-- TMPL_VAR NAME="id" -->id" value="<!-- TMPL_VAR NAME="id" -->" checked="checked" />
40             <!-- TMPL_ELSE -->
41                 <input type="checkbox" name="id" id="<!-- TMPL_VAR NAME="id" -->id" value="<!-- TMPL_VAR NAME="id" -->" />
42             <!-- /TMPL_IF -->
43         <label for="<!-- TMPL_VAR NAME="id" -->id"><!-- TMPL_VAR NAME="host" --></label>
44         </li>
45     <!-- /TMPL_LOOP --></ol></fieldset>
46     <fieldset class="action"><input type="submit" class="submit" value="Submit" onclick="cursor :'wait'" /></fieldset>
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     </tr>
58     <!-- TMPL_IF name="breeding_loop" -->
59     <!-- TMPL_LOOP name="breeding_loop" -->
60         <!-- TMPL_IF NAME="breedingid" -->
61                 
62         <!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
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 <!-- TMPL_IF name="numberpending" --><h3 align="center">Still <!-- TMPL_VAR NAME="numberpending" --> servers to search</h3><!-- /TMPL_IF -->
78
79 </body>
80 </html>
81