126d6247b2
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
44 lines
1.6 KiB
Text
44 lines
1.6 KiB
Text
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Download list[% INCLUDE 'doc-head-close.inc' %]
|
|
<script type="text/javascript">//<![CDATA[
|
|
$(document).ready(function(){
|
|
$(".close").html("Close this window");
|
|
});
|
|
//]]>
|
|
</script>
|
|
</head>
|
|
<body id="opac-downloadlist" style="padding:1em;">
|
|
<div id="userdownloadshelf" class="container">
|
|
[% UNLESS ( invalidlist ) %]
|
|
[% IF ( format ) %]
|
|
<p>Your download should begin automatically.</p>
|
|
[% ELSE %]
|
|
<form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
|
|
<fieldset class="rows">
|
|
<ol><li><label for="format">Download list:</label>
|
|
<select name="format" id="format">
|
|
<option value="">-- Choose Format --</option>
|
|
<option value="iso2709">iso2709</option>
|
|
<option value="ris">RIS</option>
|
|
<option value="bibtex">BibTex</option>
|
|
[% FOREACH csv_profile IN csv_profiles %]
|
|
<option value="[% csv_profile.export_format_id %]">CSV - [% csv_profile.profile %]</option>
|
|
[% END %]
|
|
|
|
</select></li></ol>
|
|
</fieldset>
|
|
<fieldset class="action"> <input type="hidden" name="shelfid" value="[% shelfid | html %]" />
|
|
<input type="submit" name="save" value="Go" /></fieldset>
|
|
</form>
|
|
|
|
<p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl">Back to lists</a></p>
|
|
|
|
[% END %]
|
|
[% ELSE %]
|
|
<div class="dialog alert">
|
|
<p>You do not have permission to download this list.</p>
|
|
</div>
|
|
<p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl">Back to lists</a></p>
|
|
[% END %]
|
|
</div>
|
|
</body>
|
|
</html>
|