3 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Download list [% shelfname %][% INCLUDE 'doc-head-close.inc' %]
4 [% BLOCK cssinclude %][% END %]
6 [% INCLUDE 'bodytag.inc' bodyid='opac-downloadlist' %]
7 [% INCLUDE 'masthead.inc' %]
9 <ul class="breadcrumb">
10 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
11 [% IF ( loggedinusername ) %]
12 <li><a href="/cgi-bin/koha/opac-user.pl">[% FOREACH USER_INF IN USER_INFO %][% USER_INF.title %] [% USER_INF.firstname %] [% USER_INF.surname %][% END %]</a> <span class="divider">›</span></li>
15 [% IF ( showprivateshelves ) %]
16 <a href="/cgi-bin/koha/opac-shelves.pl">Your lists</a>
18 <a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves">Public lists</a>
20 <span class="divider">›</span>
22 <li>Download list <i>[% shelfname %]</i></li>
24 <div class="container-fluid">
25 <div class="row-fluid">
26 [% IF ( OpacNav||loggedinusername ) %]
29 [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
34 [% IF ( OpacNav||loggedinusername ) %]
39 [% END # / IF fullpage %]
41 <div id="userdownloadshelf" class="maincontent">
42 [% UNLESS ( invalidlist ) %]
45 <div class="alert alert-info">
46 <p>Your download should begin automatically.</p>
49 <h1>Download list <i>[% shelfname %]</i></h1>
50 <form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
52 <select name="format" id="dlformat" required="required">
53 <option value="">-- Choose format --</option>
54 <option value="ris">RIS (Zotero, EndNote, others)</option>
55 <option value="bibtex">BibTeX</option>
56 <option value="iso2709">MARC</option>
57 [% FOREACH csv_profile IN csv_profiles %]
58 <option value="[% csv_profile.export_format_id %]">CSV - [% csv_profile.profile %]</option>
61 <span class="required">Required</span>
64 <fieldset class="action">
65 <input type="hidden" name="shelfid" value="[% shelfid | html %]" />
66 <input type="submit" name="save" class="btn" value="Go" />
67 <a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelfid %]" class="cancel close" data-dismiss="modal">Cancel</a>
71 <script type="text/javascript">
73 $(document).ready(function(){
74 $("#userdownloadshelf form").on("submit",function(e){
75 if( $("#dlformat").val() == "" ){
77 alert(_("Please choose a download format"));
79 $("#modalWin").modal("hide");
86 [% END # / IF format %]
91 <p>You do not have permission to download this list.</p>
94 [% END # / invalidlist %]
96 </div> <!-- / #userdownloadshelf -->
99 </div> <!-- / .span10 -->
100 </div> <!-- / .row-fluid -->
101 </div> <!-- / .container-fluid -->
102 </div> <!-- / .main -->
103 [% INCLUDE 'opac-bottom.inc' %]
104 [% BLOCK jsinclude %]
105 <script type="text/javascript">
107 $(document).ready(function(){
108 $("#userdownloadshelf form").on("submit",function(e){
109 if( $("#dlformat").val() == "" ){
111 alert(_("Please choose a download format"));
118 [% END # / IF fullpage %]