bug-1565, added close , and search-again links
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / result.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Search Results</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script language="Javascript">
5 //<![CDATA[
6 function GetIt(bibno,title)
7 {
8     title = title.replace(/\?/,"\?");
9     title = title.replace(/"/,"\"");
10     title = title.replace(/'/,"\'");
11     opener.document.f.biblionumber.value = bibno;
12     opener.document.f.title.value = title;
13     window.close();
14 }
15 //]]>
16 </script>
17 </head>
18 <body>
19
20 <div id="doc" class="yui-t7">
21    <div id="bd">
22         
23
24 <h1>Biblio Search results</h1>
25 <!-- TMPL_IF NAME="total"-->
26 <table>
27     <tr>
28        <th>Title</th>
29        <th>Author</th>
30        <th>publisher</th>
31        <th>Publication year</th>
32     </tr>
33     <!-- TMPL_LOOP NAME="resultsloop" -->
34         <tr>
35             <td>
36                 <a href="#" onclick="GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR escape="URL" NAME="title" -->');" title="Get this one !">
37                     <!-- TMPL_VAR NAME="title" -->
38                 </a>
39                 <br />
40                 <small><!-- TMPL_VAR NAME="subtitle" --></small>
41             </td>
42             <td>
43                 <!-- TMPL_VAR NAME="author" -->
44             </td>
45             <td>
46                 <!-- TMPL_VAR NAME="publishercode" -->
47             </td>
48             <td>
49                 <!-- TMPL_VAR NAME="publicationyear" -->
50             </td>
51         </tr>
52     <!-- /TMPL_LOOP -->
53     </table>
54 <!-- TMPL_ELSE -->
55 <h2>No result found for <b><!-- TMPL_VAR NAME="query" --></b></h2>
56 <!-- /TMPL_IF-->
57 <a onclick="Plugin(f)" href="">Search for another Biblio</a>
58 <a class="button" href="#" onclick="window.close()">  Close</a></p>
59 </div>
60
61 <script type="text/javascript">
62 function Plugin(f)
63 {
64     window.open('subscription-bib-search.pl','FindABibIndex','width=800,height=400,toolbar=no,scrollbars=yes');
65 }
66 </script>
67
68 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->