Bug 19623: (follow-up) Correct footer include in pop-up windows
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / subscription-renew.tt
1 [% SET footerjs = 1 %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Serials subscription renew #[% subscriptionid %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <style type="text/css">
6    #custom-doc { width:39.85em;*width:38.86em;min-width:531px; margin:auto; text-align:left; }
7    </style>
8 </head>
9
10 <body id="ser_subscription-renew" class="ser">
11
12 <div id="custom-doc" class="yui-t7">
13 [% IF ( renew ) %]
14   Subscription renewed.
15   
16 <script type="text/javascript">
17 //<![CDATA[
18   opener.document.location.reload();
19   self.close();
20   //]]>
21 </script>
22 [% ELSE %]
23       <div id="bd">
24 <form name="f" action="/cgi-bin/koha/serials/subscription-renew.pl" method="post">
25                 <input type="hidden" name="op" value="renew" />
26                 <input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
27                 <fieldset class="rows"><legend>Subscription renewal for [% bibliotitle %]</legend>
28         <ol>
29             <li>
30                 <label for="startdate">Start date: </label>
31                 <input type="text" size="10" id="startdate" name="startdate" value="[% startdate %]" class="datepicker"/>
32                 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
33             </li>
34                 <li><fieldset>
35                 <legend>Subscription length:</legend>
36                 <ol><li><label for="numberlength">Number of num:</label><input type="text" id="numberlength" name="numberlength" value="[% numberlength %]" /></li>
37                 <li><label for="weeklength">Number of weeks: </label><input type="text" id="weeklength" name="weeklength" value="[% weeklength %]" /></li>
38                 <li><label for="monthlength">Number of months: </label><input type="text" id="monthlength" name="monthlength" value="[% monthlength %]" /></li></ol></fieldset></li>
39                 <li><label for="note">Note for the librarian that will manage your renewal request: </label>
40                 <textarea name="note" id="note" rows="5" cols="50"></textarea></li></ol></fieldset>
41                 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
42 </form>
43 </div>
44 [% END %]
45
46 [% MACRO jsinclude BLOCK %]
47     [% INCLUDE 'calendar.inc' %]
48 [% END %]
49
50 [% INCLUDE 'intranet-bottom.inc' %]
51