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="isbd">ISBD</option>
57 <option value="iso2709">MARC</option>
58 [% FOREACH csv_profile IN csv_profiles %]
59 <option value="[% csv_profile.export_format_id |html %]">CSV - [% csv_profile.profile |html %]</option>
62 <span class="required">Required</span>
65 <fieldset class="action">
66 <input type="hidden" name="shelfid" value="[% shelfid | html %]" />
67 <input type="submit" name="save" class="btn" value="Go" />
68 <a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelfid | html %]" class="cancel close" data-dismiss="modal">Cancel</a>
72 <script type="text/javascript">
74 $(document).ready(function(){
75 $("#userdownloadshelf form").on("submit",function(e){
76 if( $("#dlformat").val() == "" ){
78 alert(_("Please choose a download format"));
80 $("#modalWin").modal("hide");
87 [% END # / IF format %]
92 <p>You do not have permission to download this list.</p>
95 [% END # / invalidlist %]
97 </div> <!-- / #userdownloadshelf -->
100 </div> <!-- / .span10 -->
101 </div> <!-- / .row-fluid -->
102 </div> <!-- / .container-fluid -->
103 </div> <!-- / .main -->
104 [% INCLUDE 'opac-bottom.inc' %]
105 [% BLOCK jsinclude %]
106 <script type="text/javascript">
108 $(document).ready(function(){
109 $("#userdownloadshelf form").on("submit",function(e){
110 if( $("#dlformat").val() == "" ){
112 alert(_("Please choose a download format"));
119 [% END # / IF fullpage %]