Cleanup on Serials. Markup corrections and cleanup, moving script blocks into header...
[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
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 </script>
16 </head>
17 <body>
18
19 <div id="doc" class="yui-t7">
20    <div id="bd">
21         <div class="yui-g">
22
23 <h1>Search results</h1>
24 <!-- TMPL_IF NAME="total"-->
25 <table>
26     <tr>
27        <th>Title</th>
28        <th>Author</th>
29        <th>publisher</th>
30        <th>Publication year</th>
31     </tr>
32     <!-- TMPL_LOOP NAME="resultsloop" -->
33         <tr>
34             <td>
35                 <a href="#" onclick="GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR escape="URL" NAME="title" -->');" title="Get this one !">
36                     <!-- TMPL_VAR NAME="title" -->
37                 </a>
38                 <br />
39                 <small><!-- TMPL_VAR NAME="subtitle" --></small>
40             </td>
41             <td>
42                 <!-- TMPL_VAR NAME="author" -->
43             </td>
44             <td>
45                 <!-- TMPL_VAR NAME="publishercode" -->
46             </td>
47             <td>
48                 <!-- TMPL_VAR NAME="publicationyear" -->
49             </td>
50         </tr>
51     <!-- /TMPL_LOOP -->
52     </table>
53 <!-- TMPL_ELSE -->
54 No result found for <b><!-- TMPL_VAR NAME="query" --></b>
55 <!-- /TMPL_IF-->
56 </div>
57
58 </div>
59 </div>
60 </div>
61
62 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->