Koha/koha-tt/opac-tmpl/prog/en/modules/opac-sendshelfform.tt
2011-03-21 20:02:15 +13:00

44 lines
1.4 KiB
Text

[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Sending Your List
[% INCLUDE 'doc-head-close.inc' %]
<script type="text/javascript">//<![CDATA[
$(document).ready(function(){
$(".close").html("Close this window");
});
//]]>
</script>
</head>
<body style="padding: 1em;" id="sendshelf">
<div id="usersendshelfform" class="container">[% IF ( email ) %]
[% IF ( SENT ) %]
<h3>Message Sent</h3>
<p>The list was sent to: [% email %]</p>
<p><a class="focus close" href="/cgi-bin/koha/opac-shelves.pl">Back to lists</a></p>
[% END %]
[% IF ( error ) %]
<p>Problem sending the list...</p>
[% END %]
[% ELSE %]
<form action="[% url %]" method="post" id="sendshelfform">
<fieldset class="rows">
<legend>Sending your list</legend>
<ol> <li>
<label for="email">Email Address:</label>
<input type="text" id="email" name="email" size="43" class="focus" />
</li>
<li>
<label for="comment">Comment:</label>
<textarea id="comment" name="comment" rows="4" cols="40"></textarea>
</li>
<li>
<input type="hidden" name="shelfid" value="[% shelfid %]" />
</li></ol></fieldset>
<fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
</form>
[% END %]</div>
</body>
</html>