Bug 14544: QA fixes - some minor bug fixes
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-sendbasketform.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  Sending your cart</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% BLOCK cssinclude %][% END %]
5 </head>
6 [% INCLUDE 'bodytag.inc' bodyid='addtolist' bodyclass='popup' %]
7     <div class="main">
8         <div class="container-fluid">
9             <div class="row-fluid">
10                 <div class="span12">
11                     <div id="usersendbasket">
12                         [% IF ( email_add ) %]
13
14                             [% IF ( SENT ) %]
15                                 <h1>Message sent</h1>
16                                 <div class="dialog dialog-success">
17                                     <p>The cart was sent to: [% email_add %]</p>
18                                 </div>
19                                 <p><a class="focus close" href="#">Close window</a></p>
20                             [% END %]
21
22                             [% IF ( error ) %]
23                                 <div class="alert">
24                                     <p>There was an error sending the cart.</p>
25                                 </div>
26                             [% END %]
27
28                         [% ELSE %]
29                             <h1>Sending your cart</h1>
30                             <form action="/cgi-bin/koha/opac-sendbasket.pl" method="post" id="sendbasketform">
31                                 <fieldset>
32                                     <label for="email_add">Email address:</label>
33                                     <input type="text" id="email_add" name="email_add" size="43" class="focus" />
34                                     <label for="comment">Comment:</label>
35                                     <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
36                                     <input type="hidden" name="bib_list" value="[% bib_list %]" />
37                                 </fieldset>
38                                 <fieldset class="action">
39                                     <input type="submit" class="btn" value="Send" />
40                                     <a class="cancel close" href="#">Cancel</a>
41                                 </fieldset>
42                             </form>
43
44                         [% END # / IF email_add %]
45                     </div> <!-- / #usersendbasket -->
46                 </div> <!-- / .span12 -->
47             </div> <!-- / .row-fluid -->
48         </div> <!-- / .container-fluid -->
49     </div> <!-- / .main -->
50
51 [% INCLUDE 'opac-bottom.inc' is_popup=1 %]
52 [% BLOCK jsinclude %][% END %]