memberentryC.tmpl:add test to modify link name
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / serials / serial-issues-full.tmpl
1 <!-- TMPL_INCLUDE NAME="bull-top.inc" -->
2
3
4 <!-- TMPL_UNLESS name="popup" -->
5         <h1 class="bull">Subscription information for biblio #<!-- TMPL_VAR NAME="biblionumber" --> with title : <!-- TMPL_VAR name="bibliotitle" --></h1>
6         <p>
7         <a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">Back to biblio</a>
8 <!-- /TMPL_UNLESS -->
9         <!-- TMPL_LOOP NAME="years" -->
10                 <!-- TMPL_IF NAME="year" -->
11                         <a  class="button bull" href="javascript:active(<!-- TMPL_VAR NAME="year" -->)"><!-- TMPL_VAR NAME="year" --></a>
12                 <!-- /TMPL_IF -->
13         <!-- /TMPL_LOOP -->
14         <a class=" button bull" href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=small">Compact view</a>
15         </p>
16         <!-- TMPL_LOOP NAME="years" -->
17         <div name="<!-- TMPL_VAR NAME="year" -->" id="<!-- TMPL_VAR NAME="year" -->" style="position:absolute; visibility:hidden; margin-top:0px; border:4px;" <!--TMPL_IF Name="first" -->style="visibility:visible"<!--/TMPL_IF -->>
18                 <table>
19                         <tr>
20                                 <th class="bull">Information
21                                 </th>
22                                 <th class="bull">Date
23                                 </th>
24                                 <th class="bull">Number
25                                 </th>
26                                 <th class="bull">Status
27                                 </th>
28                         </tr>
29                         <!-- TMPL_LOOP Name="serials" -->
30                         <tr>
31                                 <td>
32                                         <!-- TMPL_VAR name="notes" -->
33                                 </td>
34                                 <td>
35                                         <!-- TMPL_VAR Name="planneddate" -->
36                                 </td>
37                                 <td>
38                                         <!-- TMPL_VAR Name="serialseq" -->
39                                 </td>
40                                 <td>
41                                         <!-- TMPL_IF Name="status1" -->Arrived<!-- /TMPL_IF -->
42                                         <!-- TMPL_IF Name="status2" -->Waited<!-- /TMPL_IF -->
43                                         <!-- TMPL_IF Name="status3" -->Late<!-- /TMPL_IF -->
44                                         <!-- TMPL_IF Name="status4" -->Missing<!-- /TMPL_IF -->
45                                 </td>
46                         </tr>
47                         <!-- /TMPL_LOOP -->
48                 </table>
49         </div>
50         <!--/TMPL_LOOP -->
51 <script language="JavaScript" type="text/javascript">
52 active(<!-- TMPL_VAR name="yearmin" -->);
53 function active(numlayer)
54 {
55         for (i=<!--TMPL_VAR Name="yearmin"-->; i<=<!--TMPL_VAR Name="yearmax"-->; i++ ) {
56                 ong = i;
57                 link = "link"+i;
58                 if (numlayer==i) {
59                         document.getElementById(ong).style.visibility="visible";
60                 } else {
61                         document.getElementById(ong).style.visibility="hidden";
62                 }
63         }
64 }
65
66 </script>
67 </body>
68 </html>