b291f3c89ee9c4a06bde5906e5061a3ef743ea5c
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / serials-edit.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Serials &rsaquo; Serial Edition <!-- TMPL_VAR name="bibliotitle" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script language="JavaScript" type="text/javascript">
5 //<![CDATA[
6 function popup(subscriptionid) {
7         window.open("subscription-renew.pl?subscriptionid="+subscriptionid,"subscription_renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
8 }
9
10 function barcode_check(){
11     <!-- TMPL_IF NAME="count" -->
12     var count = <!-- TMPL_VAR NAME="count" -->;
13     for(var i=1;i<=count;i++){
14
15         var barcodenum = "barcode"+i;
16         var statusnum = "status"+i;
17         var elembarcode = "document.getElementById('"+barcodenum+"')";
18         var elemstatus = "document.getElementById('"+statusnum+"')";
19 // alert(elembarcode+"\n"+eval(elembarcode+".value));
20 // alert(elemstatus+"\n"+eval(elemstatus+".value"));
21         if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){
22             var answer = confirm("Leave barcode blank?\n - Note: unable to change this later");
23             if (answer){
24                 document.f.submit();
25             } else {
26                 return false;
27             }
28         }
29         if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){
30             var answer = confirm("A barcode was not entered.\nDo you want to put in a barcode\nor do you want to use a system generated barcode?");
31             if (answer){
32                 document.f.submit();
33             } else {
34                 return false;
35             }
36         }
37     }
38     <!--/TMPL_IF-->
39 }
40
41 function Check(f) {
42     var total_errors=0;
43 //      alert(f.field_value.length);
44     for (i=0 ; i<f.field_value.length ; i++) {
45 //      alert (f.field_value[i].value);
46         if (f.field_value[i].value.length==0 && f.mandatory[i].value==1) {
47             document.getElementById("error"+i).style.backgroundColor="#FF0000";
48             total_errors++;
49         } else {
50 //                      document.getElementById("error"+i).style.backgroundColor="#FFFFFF";
51         }
52     }
53     var alertString2;
54     if (total_errors==0) {
55         document.f.submit();
56     } else {
57         alertString2  = _("Form not submitted because of the following problem(s)");
58         alertString2 += "\n------------------------------------------------------------------------------------\n";
59         alertString2 += "\n- "+ total_errors+_(" mandatory fields empty (see bold subfields)");
60         alert(alertString2);
61     }
62 }
63 function unHideItems(index,labelindex, serialId) {
64         subfield = document.getElementById(index);
65         subfield.style.display = 'block';
66         label = document.getElementById(labelindex);
67         label.style.display='none';     
68
69         // Prefilling 995$v with issue number
70         // Getting item id
71         itemid = $("fieldset#" + index + " div.cataloguing_additem_itemlist div.items").attr("id");
72         // Getting subfield id
73         subfieldid = "subfield" + itemid.substr(4) + "v";
74         // Setting text field 
75         $("#" + subfieldid + " input[type='text']").val($("#serialseq" + serialId).val());
76
77 }
78 function HideItems(index,labelindex) {
79         subfield = document.getElementById(index);
80         subfield.style.display = 'none';
81         label = document.getElementById(labelindex);
82         label.style.display='block';    
83 }
84 function CloneSubfield(index){
85     var original = document.getElementById(index); //original <div>
86     var clone = original.cloneNode(true);
87     var new_key = CreateKey();
88     var old_id =  original.getAttribute('id');
89     old_id=old_id.substr(12);
90     var new_id  = old_id+new_key;
91     
92     // set the attribute for the new 'div' subfields
93     var inputs     = clone.getElementsByTagName('input');
94     var selects    = clone.getElementsByTagName('select');
95     var textareas  = clone.getElementsByTagName('textarea');
96         
97     // input
98     var id_input = "";
99     for(var i=0,len=inputs.length; i<len ; i++ ){
100         id_input = inputs[i].getAttribute('id')+new_key;
101         inputs[i].setAttribute('id',id_input);
102         inputs[i].setAttribute('name',inputs[i].getAttribute('name'));
103     }
104     
105     // select 
106     for(var i=0,len=selects.length; i<len ; i++ ){
107         id_input = selects[i].getAttribute('id')+new_key;
108         selects[i].setAttribute('id',selects[i].getAttribute('id')+new_key);
109         selects[i].setAttribute('name',selects[i].getAttribute('name'));
110     }
111     
112     // textarea
113     for(var i=0,len=textareas.length; i<len ; i++ ){
114         id_input = textareas[i].getAttribute('id')+new_key;
115         textareas[i].setAttribute('id',textareas[i].getAttribute('id')+new_key);
116         textareas[i].setAttribute('name',textareas[i].getAttribute('name'));
117     }
118     
119     <!-- TMPL_UNLESS NAME='advancedMARCEditor' -->
120     // when cloning a subfield, reset its label too.
121     var label = clone.getElementsByTagName('label')[0];
122     label.setAttribute('for',id_input);
123     <!-- /TMPL_UNLESS -->
124     
125     // setting a new if for the parent div
126     clone.setAttribute('id',new_id);
127     
128     var CloneButtonPlus;
129     try {
130       var spans = clone.getElementsByTagName('span');
131       if(spans.length){
132           for(var i = 0 ,lenspans = spans.length ; i < lenspans ; i++){
133             if(spans[i].getAttribute('class') == 'buttonPlus'){
134                     CloneButtonPlus = spans[i];
135                     CloneButtonPlus.setAttribute('onclick',"CloneSubfield('" + new_id + "')");
136                     var buttonUp = clone.getElementsByTagName('img')[0];
137                     buttonUp.setAttribute('onclick',"upSubfield('" + new_id + "')");
138                 }
139             }
140         }
141     }
142     catch(e){
143         // do nothig if ButtonPlus & CloneButtonPlus don't exist.
144     }
145     // insert this line on the page
146     original.parentNode.insertBefore(clone,original.nextSibling);
147 }
148 //]]>
149 </script>
150 <style type="text/css">#serials_edit fieldset.rows label, #serials_edit fieldset.rows span.label {
151         font-size : 100%;
152         width : 25%;
153 }
154 #serials_edit fieldset.rows select { max-width : 15em; }
155 #serials_edit fieldset.rows li {
156         padding-bottom : 3px;
157 }
158 #serials_edit .input_marceditor {
159         width : auto;
160 }</style>
161 </head>
162 <body>
163 <!-- TMPL_INCLUDE NAME="header.inc" -->
164 <!-- TMPL_INCLUDE NAME="serials-search.inc" -->
165
166 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo;  Serial Edition <i><!-- TMPL_VAR name="bibliotitle" --></i></div>
167
168 <div id="doc3" class="yui-t2">
169    
170    <div id="bd">
171         <div id="yui-main">
172         <div class="yui-b">
173
174 <h1>Serial Edition <i><!-- TMPL_VAR name="bibliotitle" --></i></h1>
175 <form method="post" name="f" action="serials-edit.pl" id="serials_edit">
176 <!--onsubmit="return barcode_check()">-->
177
178 <!--TMPL_IF Name="Errors" -->
179 <div class="dialog alert">
180 <ul>
181 <!--TMPL_IF name="barcode_not_unique"--><li>Error : Barcode Not Unique For <!--TMPL_LOOP Name="errseq"-->serialseq <!--TMPL_VAR Name="serialseq"--><br/><!--/TMPL_LOOP --></li><!--/TMPL_IF-->
182 </ul>
183 </div>
184 <!--/TMPL_IF -->
185
186  <input type="hidden" name="op" value="serialchangestatus" />
187         <table>
188         <tr>
189                 <th>Numbered</th>
190                 <th>Published on</th>
191                 <th>Expected on</th>
192                 <th>Status</th>
193                 <th>Notes</th>
194         </tr>
195 <!-- TMPL_LOOP name="serialslist" -->
196     <tr>
197         <td>
198             <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="serialid" -->" />
199             <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
200             <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
201             <input type="hidden" name="itemcount" value="<!-- TMPL_VAR name="issuesatonce" -->" />
202             <input type="hidden" name="user" value="<!-- TMPL_VAR name="librarian" -->" />
203             Issue <input type="text" name="serialseq" id="serialseq<!-- TMPL_VAR name="serialid" -->" value="<!-- TMPL_VAR name="serialseq" -->" size="20" maxlength="100" />
204         </td>
205         <td>
206             <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size="10" maxlength="15" />
207         </td>
208         <td>
209             <input type="text" name="planneddate" value="<!-- TMPL_VAR name="planneddate" -->" size="10" maxlength="15" />
210         </td>
211         <td>
212             <!--TMPL_IF name="editdisable"-->
213               <input type="hidden" name="status" id="status<!-- TMPL_VAR NAME="num" -->" value="1">
214               <select name="status" size="1"  disabled="disabled">
215             <!--TMPL_ELSE-->
216               <!--TMPL_IF Name="serialsadditems"-->
217               <select name="status" size="1" id="status<!-- TMPL_VAR NAME="num" -->" onchange="if (this.value==2){unHideItems('items'+<!-- TMPL_VAR NAME="subscriptionid" -->+<!-- TMPL_VAR NAME="serialid" -->,'label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->', <!--TMPL_VAR Name="serialid"-->)} else { HideItems('items'+<!-- TMPL_VAR NAME="subscriptionid" -->+<!-- TMPL_VAR NAME="serialid" -->,'label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->')}" >
218                <!--TMPL_ELSE -->
219               <select name="status" size="1" id="status<!-- TMPL_VAR NAME="num" -->" >
220                <!--/TMPL_IF--> 
221             <!--/TMPL_IF-->
222   <!--TMPL_IF name="status1" -->
223                     <option value="1" selected="selected">Expected</option>
224   <!-- /TMPL_IF -->
225   <!--TMPL_IF name="status2" -->
226                     <option value="2" selected="selected">Arrived</option>
227   <!--TMPL_ELSE -->
228                     <option value="2">Arrived</option>
229   <!-- /TMPL_IF -->
230   <!--TMPL_IF name="status3" -->
231                     <option value="3" selected="selected">Late</option>
232   <!-- TMPL_ELSE -->
233                     <option value="3">Late</option>
234   <!-- /TMPL_IF -->
235   <!--TMPL_IF name="status4" -->
236                     <option value="4" selected="selected">Missing</option>
237   <!-- TMPL_ELSE -->
238                     <option value="4">Missing</option>
239   <!-- /TMPL_IF -->
240   <!--TMPL_IF name="status7" -->
241                     <option value="7" selected="selected">Claimed</option>
242   <!-- TMPL_ELSE -->
243                     <option value="7">Claimed</option>
244   <!-- /TMPL_IF -->
245   <!--TMPL_IF name="status5" -->
246                     <option value="5" selected="selected">Not Available</option>
247   <!-- TMPL_ELSE -->
248                     <option value="5">Not Available</option>
249   <!-- /TMPL_IF -->
250   <!--TMPL_IF name="status6" -->
251                     <option value="6" selected="selected">Delete</option>
252   <!-- TMPL_ELSE -->
253                     <option value="6">Delete</option>
254   <!-- /TMPL_IF -->
255             </select>
256
257         </td>
258         <td>
259             <input type="text" name="notes" value="<!-- TMPL_VAR name="sernotes" -->" size="20" maxlength="255" />
260         </td>
261     </tr>
262   <!--TMPL_UNLESS Name="subscriptionexpired"-->
263   <!--TMPL_IF Name="serialsadditems"-->
264           <tr>
265           <td colspan="5">
266       <a id="label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->" style="color: grey; font-size: 80%; cursor: pointer;"  onclick="unHideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->',  <!--TMPL_VAR Name="serialid"-->)">
267              Click to add item</a>
268         <fieldset class="rows" style="display:none;" id="items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->">
269         <legend><a style="cursor: pointer;"  onclick="HideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->')">
270                 Item</a>
271         </legend>
272           <div class="cataloguing_additem_itemlist">
273         <!-- TMPL_LOOP NAME="items" -->
274         <div id="item<!-- TMPL_VAR NAME="serialid" --><!-- TMPL_VAR NAME="countitems" -->" class="items">
275         <ol><!-- TMPL_LOOP NAME="iteminformation" --><li>
276                <div class="subfield_line" style="<!-- TMPL_VAR NAME='hidden' -->;" id="subfield<!-- TMPL_VAR NAME='serialid' --><!-- TMPL_VAR NAME='countitems' --><!-- TMPL_VAR NAME='subfield' --><!-- TMPL_VAR name="random" -->">
277                               
278                 <label><!-- TMPL_VAR NAME="subfield" --> - <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!-- TMPL_VAR NAME="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF --></label>
279                 <!-- TMPL_VAR NAME="marc_value" -->
280                 <input type="hidden" name="itemid" value="<!-- TMPL_VAR NAME="itemid" -->" />
281                 <input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->" />
282                 <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->" />
283                 <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" />
284                 <input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->" />
285                 <!-- TMPL_IF NAME="ITEM_SUBFIELDS_ARE_NOT_REPEATABLE" -->
286                     <span class="buttonPlus" onclick="CloneSubfield('subfield<!-- TMPL_VAR NAME='serialid' --><!-- TMPL_VAR NAME='countitems' --><!-- TMPL_VAR NAME='subfield' --><!-- TMPL_VAR name="random" -->')">+</span>
287                 <!-- /TMPL_IF -->
288         
289             </div></li>
290         <!-- /TMPL_LOOP--></ol></div><!-- /iteminformation -->
291         
292         <input type="hidden" name="moditem" value="" /> 
293         <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="itemtagfield" -->" />
294         <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="itemtagsubfield" -->" />
295         <input type="hidden" name="serial" value="<!-- TMPL_VAR NAME="serialid" -->" />
296         <input type="hidden" name="bibnum" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
297         <input type="hidden" name="itemid" value="<!-- TMPL_VAR NAME="itemid" -->" />
298         <input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
299         <!--/TMPL_LOOP--> <!-- /items -->
300         </div>
301         </fieldset>
302     </td>
303     </tr>
304   <!-- /TMPL_IF -->
305   <!--/TMPL_UNLESS -->
306 <!-- /TMPL_LOOP -->
307 <!-- TMPL_LOOP name="newserialloop" -->
308     <!--TMPL_UNLESS Name="subscriptionexpired"-->
309     <tr>
310         <td>
311             <input type="hidden" name="serialid" value="NEW" />
312             <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
313             <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
314             <input type="hidden" name="itemcount" value="<!-- TMPL_VAR name="issuesatonce" -->" />
315             <input type="hidden" name="user" value="<!-- TMPL_VAR name="librarian" -->" />
316             Supplemental Issue <input type="text" name="serialseq" value="" size="20" maxlength="100" onchange="if (this.value!=''){unHideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!-- TMPL_VAR NAME="serialid" -->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->', <!--TMPL_VAR Name="serialid"-->)} else {HideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!-- TMPL_VAR NAME="serialid" -->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->')}" />
317         </td>
318         <td>
319             <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size="10" maxlength="15" />
320         </td>
321         <td>
322             <input type="text" name="planneddate" value="<!-- TMPL_VAR name="planneddate" -->" size="10" maxlength="15" />
323         </td>
324         <td>
325             <select name="status" size="1" id="addstatus<!-- TMPL_VAR NAME="num" -->">
326                     <option value="">----</option>
327   <!--TMPL_IF name="status1" -->
328                     <option value="1" selected="selected">Expected</option>
329   <!-- /TMPL_IF -->
330   <!--TMPL_IF name="status2" -->
331                     <option value="2" selected="selected">Arrived</option>
332   <!--TMPL_ELSE -->
333                     <option value="2">Arrived</option>
334   <!-- /TMPL_IF -->
335   <!--TMPL_IF name="status3" -->
336                     <option value="3" selected="selected">Late</option>
337   <!-- TMPL_ELSE -->
338                     <option value="3">Late</option>
339   <!-- /TMPL_IF -->
340   <!--TMPL_IF name="status4" -->
341                     <option value="4" selected="selected">Missing</option>
342   <!-- TMPL_ELSE -->
343                     <option value="4">Missing</option>
344   <!-- /TMPL_IF -->
345   <!--TMPL_IF name="status7" -->
346                     <option value="7" selected="selected">Claimed</option>
347   <!-- TMPL_ELSE -->
348                     <option value="7">Claimed</option>
349   <!-- /TMPL_IF -->
350   <!--TMPL_IF name="status5" -->
351                     <option value="5" selected="selected">Not Available</option>
352   <!-- TMPL_ELSE -->
353                     <option value="5">Not Available</option>
354   <!-- /TMPL_IF -->
355   <!--TMPL_IF name="status6" -->
356                     <option value="6" selected="selected">Delete</option>
357   <!-- TMPL_ELSE -->
358                     <option value="6">Delete</option>
359   <!-- /TMPL_IF -->
360             </select>
361
362         </td>
363         <td>
364             <input type="text" name="notes" value="" size="20" maxlength="255" />
365         </td>
366     </tr>
367   <!--TMPL_IF Name="serialsadditems"-->
368           <tr>
369           <td colspan="5">
370       <a id="label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->" style="color: grey; font-size: 80%; cursor: pointer;"  onclick="unHideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->', <!--TMPL_VAR Name="serialid"-->)">
371              Click to add item</a>
372         <fieldset  class="rows" style="display:none;" id="items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->">
373         <legend><a style="cursor: pointer;"  onclick="HideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->')">
374                 Item</a>
375         </legend>
376           <div class="cataloguing_additem_itemlist">
377         <div id="item<!-- TMPL_VAR NAME="serialid" --><!-- TMPL_VAR NAME="countitems" -->" class="items">
378         <ol><!-- TMPL_LOOP NAME="iteminformation" --><li>
379                <div class="subfield_line" style="<!-- TMPL_VAR NAME='hidden' -->;" id="subfield<!-- TMPL_VAR NAME='serialid' --><!-- TMPL_VAR NAME='countitems' --><!-- TMPL_VAR NAME='subfield' --><!-- TMPL_VAR name="random" -->">
380    
381                 <label><!-- TMPL_VAR NAME="subfield" --> - <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!-- TMPL_VAR NAME="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF --></label>
382                 <!-- TMPL_VAR NAME="marc_value" -->
383                 <input type="hidden" name="itemid" value="<!-- TMPL_VAR NAME="itemid" -->" />
384                 <input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->" />
385                 <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->" />
386                 <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" />
387                 <input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->" />
388                 <!-- TMPL_IF NAME="ITEM_SUBFIELDS_ARE_NOT_REPEATABLE" -->
389                     <span class="buttonPlus" onclick="CloneSubfield('subfield<!-- TMPL_VAR NAME='serialid' --><!-- TMPL_VAR NAME='countitems' --><!-- TMPL_VAR NAME='subfield' --><!-- TMPL_VAR name="random" -->')">+</span>
390                 <!-- /TMPL_IF -->
391         </div>
392        </li><!-- /TMPL_LOOP --></ol>
393         
394         <input type="hidden" name="moditem" value="" /> 
395         <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="itemtagfield" -->" />
396         <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="itemtagsubfield" -->" />
397         <input type="hidden" name="serial" value="<!-- TMPL_VAR NAME="serialid" -->" />
398         <input type="hidden" name="bibnum" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
399         <input type="hidden" name="itemid" value="<!-- TMPL_VAR NAME="itemid" -->" />
400         <input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
401         </div>
402         </div>
403         </fieldset>
404     </td>
405     </tr>
406   <!-- /TMPL_IF -->
407   <!--/TMPL_UNLESS -->
408 <!-- /TMPL_LOOP -->
409
410 </table>
411     <fieldset class="action"><input type="submit" value="Save"  class="button" accesskey="w" /> <!--onclick="Check(this.form)" --></fieldset>
412 </form>
413
414 </div>
415 </div>
416
417 <div class="yui-b">
418 <!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
419 <ul>
420     <!--TMPL_LOOP Name="subscriptions"-->
421     
422         <li><a href="serials-collection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" title="serial collection for <!--TMPL_VAR Name="bibliotitle"-->">Serial collection</a></li>
423         <li><a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" title="detail of the subscription">Subscription #<!-- TMPL_VAR name="subscriptionid" --></a></li>
424         <!--TMPL_IF name="abouttoexpire"--><a href="#" onclick="javascript:popup(<!--TMPL_VAR Name="subscriptionid"-->)">Renew <!--TMPL_VAR Name="subscriptionid"--></a>
425         <!--/TMPL_IF-->
426       <!--/TMPL_LOOP-->
427     <li><a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Show Biblio</a></li></ul>
428 </div>
429 </div>
430 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->