2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Sending your cart › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
7 [% INCLUDE 'bodytag.inc' bodyid='addtolist' bodyclass='popup' %]
9 <div class="container-fluid">
11 <div class="col order-first order-md-first order-lg-2">
12 <div id="usersendbasket" class="maincontent">
13 [% IF ( email_add ) %]
17 <div class="dialog dialog-success">
18 <p>The cart was sent to: [% email_add | html %]</p>
20 <p><a class="focus close" href="#">Close window</a></p>
24 <div class="alert alert-warning">
25 [% IF error == 'NO_BODY' %]
26 <p>There was an error sending the cart: No valid records were found.</p>
27 [% ELSIF error == 'NO_REPLY_ADDRESS' %]
28 <p>There was an error sending the cart: We cannot send an email as there is no email address recorded for your account (your email address is used for the reply to address).</p>
30 <p>There was an error sending the cart.</p>
36 <form action="/cgi-bin/koha/opac-sendbasket.pl" method="post" id="sendbasketform">
37 <fieldset class="brief">
38 <legend><h1>Sending your cart</h1></legend>
39 <label for="email_add">Email address:</label>
40 <input type="text" id="email_add" name="email_add" size="43" class="focus form-control" />
41 <label for="comment">Comment:</label>
42 <textarea id="comment" name="comment" rows="4" cols="40" class="form-control"></textarea>
43 <input type="hidden" name="bib_list" value="[% bib_list | html %]" />
44 <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
46 [% IF Koha.Preference('OPACHoldRequests') || Koha.Preference('OpacRenewalAllowed') %]<p id="donotrequestbymail">Please do not use this mail to request or renew books.</p>[% END %]
47 <fieldset class="action">
48 <input type="submit" class="btn btn-primary" value="Send" />
49 <a class="cancel close" href="#">Cancel</a>
53 [% END # / IF email_add %]
54 </div> <!-- / #usersendbasket -->
55 </div> <!-- / .span12 -->
56 </div> <!-- / .row -->
57 </div> <!-- / .container-fluid -->
58 </div> <!-- / .main -->
60 [% INCLUDE 'opac-bottom.inc' is_popup=1 %]
61 [% BLOCK jsinclude %][% END %]