3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Download list [% shelf.shelfname | html %]</title>[% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
7 [% INCLUDE 'bodytag.inc' bodyid='opac-downloadlist' %]
8 [% INCLUDE 'masthead.inc' %]
10 <ul class="breadcrumb">
11 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
12 [% IF ( loggedinusername ) %]
13 <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">›</span></li>
16 [% IF shelf.category == 1 %]
17 <a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=1">Your lists</a>
19 <a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=2">Public lists</a>
21 <span class="divider">›</span>
23 <li>Download list <i>[% shelf.shelfname | html %]</i></li>
25 <div class="container-fluid">
26 <div class="row-fluid">
27 [% IF ( OpacNav||loggedinusername ) %]
30 [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
35 [% IF ( OpacNav||loggedinusername ) %]
40 [% END # / IF fullpage %]
42 <div id="userdownloadshelf" class="maincontent">
43 [% UNLESS ( invalidlist ) %]
46 <div class="alert alert-info">
47 <p>Your download should begin automatically.</p>
50 <h1>Download list <i>[% shelf.shelfname | html %]</i></h1>
51 <form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
53 <select name="format" id="dlformat" required="required">
54 <option value="">-- Choose format --</option>
55 <option value="ris">RIS (Zotero, EndNote, others)</option>
56 <option value="bibtex">BibTeX</option>
57 <option value="isbd">ISBD</option>
58 <option value="iso2709">MARC</option>
59 [% FOREACH csv_profile IN csv_profiles %]
60 <option value="[% csv_profile.export_format_id |html %]">CSV - [% csv_profile.profile |html %]</option>
63 <span class="required">Required</span>
66 <fieldset class="action">
67 <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
68 <input type="submit" name="save" class="btn" value="Go" />
69 <a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber | html %]" class="cancel close" data-dismiss="modal">Cancel</a>
73 <script type="text/javascript">
75 $(document).ready(function(){
76 $("#userdownloadshelf form").on("submit",function(e){
77 if( $("#dlformat").val() == "" ){
79 alert(_("Please choose a download format"));
81 $("#modalWin").modal("hide");
88 [% END # / IF format %]
93 <p>You do not have permission to download this list.</p>
96 [% END # / invalidlist %]
98 </div> <!-- / #userdownloadshelf -->
100 [% IF ( fullpage ) %]
101 </div> <!-- / .span10 -->
102 </div> <!-- / .row-fluid -->
103 </div> <!-- / .container-fluid -->
104 </div> <!-- / .main -->
105 [% INCLUDE 'opac-bottom.inc' %]
106 [% BLOCK jsinclude %]
107 <script type="text/javascript">
109 $(document).ready(function(){
110 $("#userdownloadshelf form").on("submit",function(e){
111 if( $("#dlformat").val() == "" ){
113 alert(_("Please choose a download format"));
120 [% END # / IF fullpage %]