working on adding library logi
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / 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
5 <div id="mainbloc">
6     <h1 class="catalogue">Search results</h1>
7 <!-- TMPL_IF NAME="total"-->
8 <div class="searchresults">
9     <table>
10     <tr>
11        <th>Title</th>
12        <th>Author</th>
13        <th>publisher</th>
14        <th>Publication year</th>
15     </tr>
16     <!-- TMPL_LOOP NAME="resultsloop" -->
17         <tr>
18             <td>
19                 <a href="#" onclick="Javascript:GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR escape="URL" NAME="title" -->');" title="Get this one !">
20                     <!-- TMPL_VAR NAME="title" -->
21                 </a>
22                 <br />
23                 <small><!-- TMPL_VAR NAME="subtitle" --></small>
24             </td>
25             <td>
26                 <!-- TMPL_VAR NAME="author" -->
27             </td>
28             <td>
29                 <!-- TMPL_VAR NAME="publishercode" -->
30             </td>
31             <td>
32                 <!-- TMPL_VAR NAME="publicationyear" -->
33             </td>
34         </tr>
35     <!-- /TMPL_LOOP -->
36     </table>
37 </div>
38 <!-- TMPL_ELSE -->
39 No result found for <b><!-- TMPL_VAR NAME="query" --></b>
40 <!-- /TMPL_IF-->
41 </div>
42
43
44 <script language="Javascript">
45
46 function GetIt(bibno,title)
47 {
48     title = title.replace(/\?/,"\?");
49     title = title.replace(/"/,"\"");
50     title = title.replace(/'/,"\'");
51     opener.document.f.biblionumber.value = bibno;
52     opener.document.f.title.value = title;
53     window.close();
54 }
55 </script>