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