Beginning redesign of the OPAC. At this stage it's a move to make it more like the...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-full-serial-issues.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryNameTitle" --> Catalog -- Serials
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 </head>
4 <body>
5 <!--TMPL_INCLUDE NAME="masthead.inc" -->
6 <!--TMPL_INCLUDE NAME="navigation.inc" -->
7
8
9 <!-- TMPL_UNLESS name="popup" -->
10     <h1 class="catalogue">Subscription information for <!-- TMPL_VAR name="bibliotitle" --></h1>
11     <a href="opac-detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">Back to biblio</a>
12 <!-- /TMPL_UNLESS -->
13     <div class="tabsubs">
14     <!-- TMPL_LOOP NAME="years" -->
15         <!-- TMPL_IF NAME="year" -->
16             <a  class="tabsubs" href="javascript:showlayer(<!-- TMPL_VAR NAME="year" -->)"><!-- TMPL_VAR NAME="year" --></a>
17         <!-- /TMPL_IF -->
18     <!-- /TMPL_LOOP -->
19     <a class="tabsubs" href="opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=small">Compact view</a>
20     </div>
21
22     <!-- TMPL_LOOP NAME="years" -->
23     <div name="yeardata" id="<!-- TMPL_VAR NAME="year" -->" class="tabsub" <!--TMPL_IF Name="first" -->style="visibility:visible"<!--/TMPL_IF -->>
24         <table width="400px">
25             <tr>
26                 <th>Date
27                 </th>
28                 <th>Date received
29                 </th>
30                 <th>Number
31                 </th>
32                 <th>Status
33                 </th>
34             </tr>
35             <!-- TMPL_LOOP Name="serials" -->
36             <tr>
37                 <td>    <!-- TMPL_VAR Name="publisheddate" -->
38                 </td>
39                 <td>    <!-- TMPL_VAR Name="planneddate" -->
40                 </td>
41                 <td>    <!-- TMPL_VAR Name="serialseq" -->
42                 </td>
43                 <td>    <!-- TMPL_IF Name="status1" -->Waited<!-- /TMPL_IF -->
44                     <!-- TMPL_IF Name="status2" -->Arrived<!-- /TMPL_IF -->
45                     <!-- TMPL_IF Name="status3" -->Late<!-- /TMPL_IF -->
46                     <!-- TMPL_IF Name="status4" -->Missing<!-- /TMPL_IF -->
47                     <!-- TMPL_IF Name="status5" -->Not Published<!-- /TMPL_IF -->
48                     <!-- TMPL_IF name="notes" -->(<!-- TMPL_VAR name="notes" -->)<!-- /TMPL_IF -->
49                 </td>
50             </tr>
51             <!-- /TMPL_LOOP -->
52         </table>
53     </div>
54     <!--/TMPL_LOOP -->
55 <script language="JavaScript" type="text/javascript">
56 showlayer(<!-- TMPL_VAR name="yearmin" -->);
57 function showlayer(numlayer)
58 {
59     var yeardata=document.getElementsByName("yeardata");
60     for (i=0; i<yeardata.length; i++ ) {
61         ong=yeardata[i].getAttribute('id');
62         if (numlayer==ong) {
63             yeardata[i].style.visibility="visible";
64         } else {
65             yeardata[i].style.visibility="hidden";
66         }
67     }
68 }
69
70 </script>
71 </body>
72 </html>