Link Here
|
62 |
<li> |
62 |
<li> |
63 |
<div id="export"> |
63 |
<div id="export"> |
64 |
<div class="dropdown"> |
64 |
<div class="dropdown"> |
65 |
<a id="format" class="btn btn-link btn-lg dropdown-toggle" data-toggle="dropdown" href="#"><i class="fa fa-fw fa-download" aria-hidden="true"></i> Save record <b class="caret"></b></a> |
65 |
<a id="format" class="btn btn-link btn-lg dropdown-toggle" data-toggle="dropdown" href="#"><i class="fa fa-fw fa-download"></i> Save record <b class="caret"></b></a> |
66 |
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="format"> |
66 |
<ul class="dropdown-menu pull-left" role="menu" aria-labelledby="format"> |
67 |
[% FOREACH option IN export_options %] |
67 |
[% FOREACH option IN export_options %] |
68 |
[% IF option == 'dc' %] |
68 |
[% IF option == 'dc' %] |
69 |
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#exportModal_">Dublin Core</a> |
69 |
<li><a role="menuitem" href="#" data-toggle="modal" data-target="#exportModal_">Dublin Core</a></li> |
70 |
[% ELSE %] |
70 |
[% ELSIF option != 'custom' %] |
71 |
<a class="dropdown-item" href="/cgi-bin/koha/opac-export.pl?op=export&bib=[% biblio.biblionumber | html %]&format=[% option | html %]"> |
71 |
<li> |
72 |
[% SWITCH option %] |
72 |
<a role="menuitem" href="/cgi-bin/koha/opac-export.pl?op=export&bib=[% biblio.biblionumber | html %]&format=[% option | html %]"> |
73 |
[% CASE 'bibtex' %]<span>BIBTEX</span> |
73 |
[% SWITCH option %] |
74 |
[% CASE 'endnote' %]<span>EndNote</span> |
74 |
[% CASE 'bibtex' %]BIBTEX |
75 |
[% CASE 'marcxml' %]<span>MARCXML</span> |
75 |
[% CASE 'endnote' %]EndNote |
76 |
[% CASE 'marc8' %]<span>MARC (non-Unicode/MARC-8)</span> |
76 |
[% CASE 'marcxml' %]MARCXML |
77 |
[% CASE 'utf8' %]<span>MARC (Unicode/UTF-8)</span> |
77 |
[% CASE 'marc8' %]MARC (non-Unicode/MARC-8) |
78 |
[% CASE 'marcstd' %]<span>MARC (Unicode/UTF-8, Standard)</span> |
78 |
[% CASE 'utf8' %]MARC (Unicode/UTF-8) |
79 |
[% CASE 'mods' %]<span>MODS (XML)</span> |
79 |
[% CASE 'marcstd' %]MARC (Unicode/UTF-8, Standard) |
80 |
[% CASE 'ris' %]<span>RIS</span> |
80 |
[% CASE 'mods' %]MODS (XML) |
81 |
[% CASE 'isbd' %]<span>ISBD</span> |
81 |
[% CASE 'ris' %]RIS |
|
|
82 |
[% CASE 'isbd' %]ISBD |
83 |
[% END %] |
84 |
</a> |
85 |
</li> |
86 |
[% ELSE %] |
87 |
[% FOREACH filesOption IN filesOptions %] |
88 |
<li><a role="menuitem" href="/cgi-bin/koha/opac-export.pl?format=[% filesOption.format | html %]&op=exportxsl&file=[% filesOption.value | html %]&bib=[% biblionumber | html %]">XSL - [% filesOption.filename | html %]</a></li> |
82 |
[% END %] |
89 |
[% END %] |
83 |
</a> |
90 |
[% END %] |
84 |
[% END %] |
91 |
[% END %] |
85 |
[% END %] |
92 |
</ul> |
86 |
</div> <!-- /.dropdown-menu --> |
93 |
</div> |
87 |
</div> <!-- /.dropdown --> |
94 |
</div> |
88 |
</div> <!-- /#export --> |
|
|
89 |
</li> |
95 |
</li> |
90 |
[% END %] |
96 |
[% END %] |
91 |
|
97 |
|