1 [% INCLUDE 'doc-head-open.inc' %] 2 <title>Koha › Download shelf</title> 3 [% INCLUDE 'doc-head-close.inc' %] 4 </head> 5 <body id="lists_downloadshelf" class="lists" style="padding:1em;"> 6 7 [% FOR m IN messages %] 8 <div class="dialog [% m.type | html %]"> 9 [% SWITCH m.code %] 10 [% CASE 'unauthorized' %] 11 You do not have permission to view this list. 12 [% CASE 'does_not_exist' %] 13 This list does not exist. 14 [% CASE %] 15 [% m.code | html %] 16 [% END %] 17 </div> 18 [% END %] 19 20 21 22 [% IF ( format ) %] 23 <p>Your download should begin automatically.</p> 24 [% ELSE %] 25 <div id="export" class="detailtagcell"> <form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl"> 26 <form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl"> 27 <fieldset class="rows"> 28 <legend>Download list</legend> 29 <ol><li> 30 <label for="format">Format: </label> 31 <select name="format" id="format"> 32 <option value="">-- Choose format --</option> 33 <option value="iso2709">MARC</option> 34 <option value="ris">RIS</option> 35 <option value="bibtex">BibTex</option> 36 [% FOREACH csv_profile IN csv_profiles %] 37 <option value="[% csv_profile.export_format_id | html %]">CSV - [% csv_profile.profile | html %]</option> 38 [% END %] 39 </select> 40 </li></ol> 41 </fieldset> 42 <fieldset class="action"><input type="hidden" name="shelfid" value="[% shelfid | html %]" /> 43 <input type="submit" name="save" value="Save" /> <a class="cancel close" href="#">Cancel</a> 44 </fieldset> 45 </form> 46 47 [% END %] 48 </body> 49 </html>