Koha/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt
Jonathan Druart 912f238c5e Bug 15005: Replace CGI->url with the corresponding url
CGI->url does not return the correct url on install using packages.

Test plan:
1/ Try to reproduce the bug from the description of bug 15005.
You should be able to login to the intranet and the OPAC
2/ Send a basket and a list from the intranet and the OPAC.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-10-19 09:36:43 -03:00

39 lines
1.3 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; 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 %]</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>
<li>
<input type="hidden" name="bib_list" value="[% bib_list %]" />
</li></ol></fieldset>
<fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
</form>
[% END %]</div>
</body>
</html>