Moving </head><body> into body of templates so that js and css can be embedded per...
[koha_ffzg] / 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 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7
8 <div id="doc" class="yui-t7">
9    <div id="bd">
10         <div class="yui-g">
11
12 <h1>Search results</h1>
13 <!-- TMPL_IF NAME="total"-->
14 <table>
15     <tr>
16        <th>Title</th>
17        <th>Author</th>
18        <th>publisher</th>
19        <th>Publication year</th>
20     </tr>
21     <!-- TMPL_LOOP NAME="resultsloop" -->
22         <tr>
23             <td>
24                 <a href="#" onclick="GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR escape="URL" NAME="title" -->');" title="Get this one !">
25                     <!-- TMPL_VAR NAME="title" -->
26                 </a>
27                 <br />
28                 <small><!-- TMPL_VAR NAME="subtitle" --></small>
29             </td>
30             <td>
31                 <!-- TMPL_VAR NAME="author" -->
32             </td>
33             <td>
34                 <!-- TMPL_VAR NAME="publishercode" -->
35             </td>
36             <td>
37                 <!-- TMPL_VAR NAME="publicationyear" -->
38             </td>
39         </tr>
40     <!-- /TMPL_LOOP -->
41     </table>
42 <!-- TMPL_ELSE -->
43 No result found for <b><!-- TMPL_VAR NAME="query" --></b>
44 <!-- /TMPL_IF-->
45 </div>
46
47
48 <script language="Javascript">
49
50 function GetIt(bibno,title)
51 {
52     title = title.replace(/\?/,"\?");
53     title = title.replace(/"/,"\"");
54     title = title.replace(/'/,"\'");
55     opener.document.f.biblionumber.value = bibno;
56     opener.document.f.title.value = title;
57     window.close();
58 }
59 </script>
60
61 </div>
62 </div>
63 </div>
64
65 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->