Bug 15111: Do not include the antiClickjack legacy browser trick for greybox
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / includes / opac-detail-sidebar.inc
1 <ul id="action">
2     [% UNLESS ( norequests ) %]
3         [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
4             [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
5                 [% IF ( AllowOnShelfHolds OR ItemsIssued ) %]
6                     <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% biblionumber %]">Place hold</a></li>
7                 [% END %]
8             [% END %]
9         [% END %]
10     [% END %]
11     <li><a class="print-large" href="#" onclick="window.print();">Print</a></li>
12     [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
13         [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
14             <li><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% biblionumber %]" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=[% biblionumber %]'); return false;">
15                 Save to your lists
16             </a></li>
17         [% END %]
18     [% END %]
19     [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
20         [% IF ( incart ) %]
21             <li><a class="incart cart[% biblionumber %]" href="#" onclick="addRecord('[% biblionumber %]'); return false;">In your cart</a> <a class="cartRemove cartR[% biblionumber %]" href="#" onclick="delSingleRecord('[% biblionumber %]'); return false;">(remove)</a></li>
22         [% ELSE %]
23             <li><a class="addtocart cart[% biblionumber %]" href="#" onclick="addRecord('[% biblionumber %]'); return false;">Add to your cart</a>  <a style="display:none;" class="cartRemove cartR[% biblionumber %]" href="#" onclick="delSingleRecord('[% biblionumber %]'); return false;">(remove)</a></li>
24         [% END %]
25     [% END %]
26     [% IF ( OpacHighlightedWords && query_desc ) %]
27     <li>
28         <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
29         <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
30     </li>
31     [% END %]
32
33     [% SET export_options = Koha.Preference('OpacExportOptions').split(',') %]
34     [% IF export_options.size %]
35         <li>
36             <div id="export">
37                 <div class="dropdown">
38                     <a id="format" class="dropdown-toggle" data-toggle="dropdown" href="#">Save record <b class="caret"></b></a>
39                         <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="format">
40                             [% FOREACH option IN export_options %]
41                                 [% IF option == 'dc' %]
42                                     <li><a role="menuitem" href="#" data-toggle="modal" data-target="#exportModal_">Dublin Core</a></li>
43                                 [% ELSE %]
44                                 <li>
45                                     <a role="menuitem" href="/cgi-bin/koha/opac-export.pl?op=export&amp;bib=[% biblionumber %]&amp;format=[% option %]">
46                                         [% SWITCH option %]
47                                             [% CASE 'bibtex' %]BIBTEX
48                                             [% CASE 'endnote' %]EndNote
49                                             [% CASE 'marcxml' %]MARCXML
50                                             [% CASE 'marc8' %]MARC (non-Unicode/MARC-8)
51                                             [% CASE 'utf8' %]MARC (Unicode/UTF-8)
52                                             [% CASE 'marcstd' %]MARC (Unicode/UTF-8, Standard)
53                                             [% CASE 'mods' %]MODS (XML)
54                                             [% CASE 'ris' %]RIS
55                                             [% CASE 'isbd' %]ISBD
56                                         [% END %]
57                                     </a>
58                                 </li>
59                                 [% END %]
60                             [% END %]
61                         </ul>
62                 </div>
63             </div>
64         </li>
65     [% END %]
66
67     [% IF ( OPACSearchForTitleIn ) %]
68         <li>
69             <div id="moresearches_menu">
70                 <div class="dropdown">
71                     <a id="furthersearches" class="dropdown-toggle" data-toggle="dropdown" href="#">More searches <b class="caret"></b></a>
72                         <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="furthersearches">
73                             <li><a href="#" class="menu-inactive">Search for this title in:</a></li>
74                             [% OPACSearchForTitleIn %]
75                         </ul>
76                 </div>
77             </div>
78         </li>
79     [% END %]
80 </ul>
81
82 <!-- Dublin Core Modal Form -->
83 <div class="modal hide" id="exportModal_" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_" aria-hidden="true">
84     <div class="modal-header">
85         <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">&times;</button>
86         <h3 class="modal-title" id="exportModalLabel">Exporting to Dublin Core...</h3>
87     </div>
88     <form method="get" action="/cgi-bin/koha/opac-export.pl">
89     <div class="modal-body">
90         <fieldset id="dc_fieldset">
91                 <input id="input-simple" type="radio" name="format" value="rdfdc">
92                 <label class="label_dc" for="input-simple">Simple DC-RDF</label>
93                 <br>
94                 <input id="input-oai" type="radio" name="format" value="oaidc" checked>
95                 <label class="label_dc" for="input-oai">OAI-DC</label>
96                 <br>
97                 <input id="input-srw" type="radio" name="format" value="srwdc">
98                 <label class="label_dc" for="input-srw">SRW-DC</label>
99                 <br>
100         <input type="hidden" name="op" value="export">
101         <input type="hidden" name="bib" value="[% biblionumber %]">
102         </fieldset>
103     </div>
104     <div class="modal-footer">
105         <button type="submit" class="btn">Export</button>
106         <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
107     </div>
108     </form>
109 </div>