64 lines
1.9 KiB
Text
64 lines
1.9 KiB
Text
[% USE raw %]
|
|
[% PROCESS 'i18n.inc' %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>[% FILTER collapse %]
|
|
[% t("Sending your list") | html %] ›
|
|
[% t("Lists") | html %] ›
|
|
[% t("Koha") | html %]
|
|
[% END %]</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body id="lists_sendshelfform" class="lists">
|
|
[% INCLUDE 'blocking_errors.inc' %]
|
|
<div class="container-fluid">[% IF ( email ) %]
|
|
|
|
[% IF ( SENT ) %]
|
|
<h3>Message sent</h3>
|
|
<p>The list was sent to: [% email | html %]</p>
|
|
[% END %]
|
|
[% IF ( error ) %]
|
|
<p>Problem sending the list...</p>
|
|
[% END %]
|
|
|
|
<nav class="navbar navbar-default navbar-fixed-bottom">
|
|
<div class="container-fluid">
|
|
<fieldset class="action">
|
|
<button class="btn btn-default close_window focus">Close window</button>
|
|
</fieldset>
|
|
</div>
|
|
</nav>
|
|
|
|
[% ELSE %]
|
|
|
|
<form action="/cgi-bin/koha/virtualshelves/sendshelf.pl" method="post">
|
|
[% INCLUDE 'csrf-token.inc' %]
|
|
|
|
<h1>Sending your list</h1>
|
|
<fieldset class="rows">
|
|
<legend class="sr-only">Enter message details</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 | html %]" />
|
|
</li></ol></fieldset>
|
|
<input type="hidden" name="op" value="cud-send" />
|
|
|
|
<nav class="navbar navbar-default navbar-fixed-bottom">
|
|
<div class="container-fluid">
|
|
<fieldset class="action">
|
|
<input type="submit" class="btn btn-primary" value="Send" />
|
|
<button class="btn btn-default close_window">Cancel</button>
|
|
</fieldset>
|
|
</div>
|
|
</nav>
|
|
</form>
|
|
|
|
[% END %]</div>
|
|
</body>
|
|
</html>
|