Bug 5917 : Swapping templates over
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-sendshelfform.tt
1 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog ›  Sending Your List
2 [% INCLUDE 'doc-head-close.inc' %]
3 <script type="text/javascript">//<![CDATA[
4         $(document).ready(function(){
5                 $(".close").html("Close this window");
6         });
7 //]]>
8 </script>
9 </head>
10 <body style="padding: 1em;" id="sendshelf">
11 <div id="usersendshelfform" class="container">[% IF ( email ) %]
12
13     [% IF ( SENT ) %]
14         <h3>Message Sent</h3>
15         <p>The list was sent to: [% email %]</p>
16         <p><a class="focus close" href="/cgi-bin/koha/opac-shelves.pl">Back to lists</a></p>
17     [% END %]
18     [% IF ( error ) %]
19     <p>Problem sending the list...</p>
20     [% END %]
21     
22 [% ELSE %]
23
24 <form action="[% url %]" method="post" id="sendshelfform">
25
26 <fieldset class="rows"> 
27 <legend>Sending your list</legend>
28 <ol>   <li>
29         <label for="email">Email Address:</label>
30         <input type="text" id="email" name="email" size="43" class="focus" />
31     </li>
32     <li>
33             <label for="comment">Comment:</label>
34             <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
35     </li>
36     <li>
37         <input type="hidden" name="shelfid" value="[% shelfid %]" />
38     </li></ol></fieldset>
39        <fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
40 </form>
41
42 [% END %]</div>
43 </body>
44 </html>