Fixing zebra-striping of z3950 search results, YUI-ing z3950 search button, tweaking...
[koha_fer] / 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">#custom-doc { width:47.23em;*width:46.04em;min-width:610px; margin:auto;margin-top: .4em; text-align:left; }</style>
14 </head>
15 <body>
16
17 <div id="custom-doc" class="yui-t7">
18    <div id="bd">
19
20     <h2>Search for:</h2>
21     <!-- TMPL_IF NAME="title"--><p><strong>Title:</strong> <!-- TMPL_VAR NAME="title"--></p><!-- /TMPL_IF -->
22     <!-- TMPL_IF NAME="author"--><p><strong>Author:</strong> <!-- TMPL_VAR NAME="author"--></p><!-- /TMPL_IF -->
23     <!-- TMPL_IF NAME="isbn"--><p><strong>ISBN:</strong> <!-- TMPL_VAR NAME="isbn"--></p><!-- /TMPL_IF -->
24     <!-- TMPL_IF NAME="issn"--><p><strong>ISSN:</strong> <!-- TMPL_VAR NAME="issn"--></p><!-- /TMPL_IF -->
25     
26 <!-- TMPL_IF name="opsearch" -->
27     
28     <form method="post" action="z3950_search.pl" name="f">
29     <fieldset class="rows"> 
30         <legend>Search these servers:</legend>
31         <input type="hidden" name="op" id="op" value="do_search" />
32     <input type="hidden" name="title" value="<!-- TMPL_VAR NAME="title" -->" />
33     <input type="hidden" name="author" value="<!-- TMPL_VAR NAME="author" -->" />
34     <input type="hidden" name="isbn" value="<!-- TMPL_VAR NAME="isbn" -->" />
35     <input type="hidden" name="issn" value="<!-- TMPL_VAR NAME="issn" -->" />
36     <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
37     <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
38     <ol>
39     <!-- TMPL_LOOP name="serverloop" -->
40         <li class="radio">
41             <!-- TMPL_IF name="checked" -->
42                 <input type="checkbox" name="id" id="<!-- TMPL_VAR NAME="id" -->id" value="<!-- TMPL_VAR NAME="id" -->" checked="checked" />
43             <!-- TMPL_ELSE -->
44                 <input type="checkbox" name="id" id="<!-- TMPL_VAR NAME="id" -->id" value="<!-- TMPL_VAR NAME="id" -->" />
45             <!-- /TMPL_IF -->
46         <label for="<!-- TMPL_VAR NAME="id" -->id"><!-- TMPL_VAR NAME="host" --></label>
47         </li>
48     <!-- /TMPL_LOOP --></ol></fieldset>
49     <fieldset class="action"><input type="submit" class="submit" value="Submit" onclick="cursor :'wait'" /></fieldset>
50     </form>
51 <!-- TMPL_ELSE -->
52     <h2>Results</h2>
53     <table>
54     <tr>
55         <th>Server</th>
56         <th>Title</th>
57         <th>Author</th>
58         <th>ISBN</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><a href="javascript:Import(<!-- TMPL_VAR NAME="breedingid" -->,<!-- TMPL_VAR NAME="biblionumber" -->)">Import</a></td> 
71         </tr>
72         <!-- /TMPL_IF -->
73     <!-- /TMPL_LOOP -->
74     <!-- TMPL_ELSE -->
75         <tr><td colspan="6">Nothing found</td></tr>
76     <!-- /TMPL_IF -->
77 </table>
78 <!-- /TMPL_IF -->
79
80 <!-- TMPL_IF name="numberpending" --><h3 align="center">Still <!-- TMPL_VAR NAME="numberpending" --> servers to search</h3><!-- /TMPL_IF -->
81
82 </body>
83 </html>
84