Merge remote branch 'kc/new/bug_3072' into kcmaster
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-downloadshelf.tt
1 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Download list[% INCLUDE 'doc-head-close.inc' %]
2 <script type="text/javascript">//<![CDATA[
3         $(document).ready(function(){
4                 $(".close").html("Close this window");
5         });
6 //]]>
7 </script>
8 </head>
9 <body id="opac-downloadlist" style="padding:1em;">
10 <div id="userdownloadshelf" class="container">[% IF ( format ) %]
11     <p>Your download should begin automatically.</p>
12 [% ELSE %]
13 <form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
14 <fieldset class="rows">
15         <ol><li><label for="format">Download list:</label>
16         <select name="format" id="format">
17             <option value="">-- Choose Format --</option>
18             <option value="iso2709">iso2709</option>
19             <option value="ris">RIS</option>
20             <option value="bibtex">BibTex</option>
21             [% FOREACH csv_profile IN csv_profiles %]
22             <option value="[% csv_profile.export_format_id %]">CSV - [% csv_profile.profile %]</option>
23             [% END %]
24
25         </select></li></ol>
26 </fieldset>
27 <fieldset class="action">       <input type="hidden" name="shelfid" value="[% shelfid %]" />
28         <input type="submit" name="save" value="Go" /></fieldset>
29     </form>
30
31     <p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl">Back to lists</a></p>
32
33 [% END %]</div>
34 </body>
35 </html>