Marcel de Rooy
130733a013
Removes template var csrf_error and associated handling. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Restested with opac and intranet: Still sends or dies elegantly.. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
40 lines
1.3 KiB
Text
40 lines
1.3 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Sending your cart</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body style="padding: 1em;" id="cart_sendbasketform" class="cart">
|
|
<div class="container">[% IF ( email_add ) %]
|
|
|
|
[% IF ( SENT ) %]
|
|
<h3>Message sent</h3>
|
|
<p>The cart was sent to: [% email_add |html %]</p>
|
|
<p><a class="focus close" href="#">Close window</a></p>
|
|
[% END %]
|
|
[% IF ( error ) %]
|
|
<p>Problem sending the cart...</p>
|
|
[% END %]
|
|
|
|
[% ELSE %]
|
|
|
|
<form action="/cgi-bin/koha/basket/sendbasket.pl" method="post">
|
|
|
|
<fieldset class="rows">
|
|
<legend>Sending your cart</legend>
|
|
<ol> <li>
|
|
<label for="email_add">Email address:</label>
|
|
<input type="text" id="email_add" name="email_add" size="43" class="focus" />
|
|
</li>
|
|
<li>
|
|
<label for="comment">Comment:</label>
|
|
<textarea id="comment" name="comment" rows="4" cols="40"></textarea>
|
|
</li>
|
|
</ol>
|
|
</fieldset>
|
|
<fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
|
|
<input type="hidden" name="bib_list" value="[% bib_list %]" />
|
|
<input type="hidden" name="csrf_token" value="[% csrf_token %]" />
|
|
</form>
|
|
|
|
[% END %]</div>
|
|
</body>
|
|
</html>
|