Bug 15758: Koha::Libraries - Remove GetBranchName
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / virtualshelves / downloadshelf.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; 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 %]">
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 %]
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">iso2709</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 %]">CSV - [% csv_profile.profile %]</option>
38             [% END %]
39         </select>
40         </li></ol>
41         </fieldset>
42         <fieldset class="action"><input type="hidden" name="shelfid" value="[% shelfid %]" />
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>