Koha/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.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

38 lines
1.2 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]<title>Koha &rsaquo; Lists &rsaquo; Sending your list</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="lists_sendshelfform" class="lists" style="padding: 1em;">
<div class="container">[% IF ( email ) %]
[% IF ( SENT ) %]
<h3>Message sent</h3>
<p>The list was sent to: [% email %]</p>
<p><a class="close focus" href="#">Close window</a></p>
[% END %]
[% IF ( error ) %]
<p>Problem sending the list...</p>
[% END %]
[% ELSE %]
<form action="/cgi-bin/koha/virtualshelves/sendshelf.pl" method="post">
<fieldset class="rows">
<legend>Sending your list</legend>
<ol> <li>
<label for="email">Email address:</label>
<input type="text" id="email" name="email" 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="shelfid" value="[% shelfid %]" />
</li></ol></fieldset>
<fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
</form>
[% END %]</div>
</body>
</html>