Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt
2011-04-10 20:38:30 +12:00

40 lines
1.8 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Serials Subscription renew #[% subscriptionid %]</title>
[% INCLUDE 'doc-head-close.inc' %]
<style type="text/css">
#custom-doc { width:39.85em;*width:38.86em;min-width:531px; margin:auto; text-align:left; }
</style>
</head>
<body>
<div id="custom-doc" class="yui-t7">
[% IF ( renew ) %]
Subscription renewed.
<script type="text/javascript">
//<![CDATA[
opener.document.location.reload();
self.close();
//]]>
</script>
[% ELSE %]
<div id="bd">
<form name="f" action="/cgi-bin/koha/serials/subscription-renew.pl" method="post">
<input type="hidden" name="op" value="renew" />
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" />
<fieldset class="rows"><legend>Subscription renewal for [% bibliotitle %]</legend>
<ol><li><label for="startdate">Start date: </label><input type="text" id="startdate" name="startdate" value="[% startdate %]" /></li>
<li><fieldset>
<legend>Subscription length:</legend>
<ol><li><label for="numberlength">Number of num:</label><input type="text" id="numberlength" name="numberlength" value="[% numberlength %]" /></li>
<li><label for="weeklength">Number of weeks: </label><input type="text" id="weeklength" name="weeklength" value="[% weeklength %]" /></li>
<li><label for="monthlength">Number of months: </label><input type="text" id="monthlength" name="monthlength" value="[% monthlength %]" /></li></ol></fieldset></li>
<li><label for="note">Note for the librarian that will manage your renewal request: </label>
<textarea name="note" id="note" rows="5" cols="50"></textarea></li></ol></fieldset>
<fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
</form>
</div>
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]