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