Koha/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt
Jonathan Druart 6f75aa11ff Bug 14544: Make the intranet side independent of Page.pm
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-11-05 09:58:01 -03:00

49 lines
1.5 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Download shelf</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="lists_downloadshelf" class="lists" style="padding:1em;">
[% FOR m IN messages %]
<div class="dialog [% m.type %]">
[% SWITCH m.code %]
[% CASE 'unauthorized' %]
You do not have permission to view this list.
[% CASE 'does_not_exist' %]
This list does not exist.
[% CASE %]
[% m.code %]
[% END %]
</div>
[% END %]
[% IF ( format ) %]
<p>Your download should begin automatically.</p>
[% ELSE %]
<div id="export" class="detailtagcell"> <form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl">
<form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl">
<fieldset class="rows">
<legend>Download list</legend>
<ol><li>
<label for="format">Format: </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 %]" />
<input type="submit" name="save" value="Save" /> <a class="cancel close" href="#">Cancel</a>
</fieldset>
</form>
[% END %]
</body>
</html>