|
Lines 160-166
Link Here
|
| 160 |
<span class="addto"></span> |
160 |
<span class="addto"></span> |
| 161 |
[% END %] |
161 |
[% END %] |
| 162 |
<span id="placehold"><!-- input class="submit" type="submit" value="Place Hold"/ --></span> |
162 |
<span id="placehold"><!-- input class="submit" type="submit" value="Place Hold"/ --></span> |
| 163 |
|
|
|
| 164 |
[% IF ( TagsInputEnabled && loggedinusername ) %] |
163 |
[% IF ( TagsInputEnabled && loggedinusername ) %] |
| 165 |
<span id="tagsel_span"> |
164 |
<span id="tagsel_span"> |
| 166 |
<input id="tagsel_tag" class="disabled" type="submit" value="Tag"/> |
165 |
<input id="tagsel_tag" class="disabled" type="submit" value="Tag"/> |
|
Lines 176-181
Link Here
|
| 176 |
</div> |
175 |
</div> |
| 177 |
[% END %] |
176 |
[% END %] |
| 178 |
</span> <!-- / .links --> |
177 |
</span> <!-- / .links --> |
|
|
178 |
[% SET reference_manager_options = Koha.Preference('OpacReferenceManager').split(',') %] |
| 179 |
[% IF reference_manager_options.size %] |
| 180 |
<span class="sep">|</span> |
| 181 |
<li class="dropdown"> |
| 182 |
<a id="reference_manager" class="dropdown-toggle" role="button" data-toggle="dropdown" href="#">Export to Reference Manager <b class="caret"></b></a> |
| 183 |
<ul class="dropdown-menu" role="menu" aria-labelledby="listsmenu"> |
| 184 |
[% FOREACH option IN reference_manager_options %] |
| 185 |
[% IF option == 'mendeley' %] |
| 186 |
<li role="presentation"> |
| 187 |
<a role="menuitem" tabindex="-1" href="#" id="mendeley_modal"><img src="[% interface %]/[% theme %]/images/mendeley.png"/> Save to Mendeley</a> |
| 188 |
</li> |
| 189 |
[% ELSE %] |
| 190 |
<li role="presentation"> |
| 191 |
<a role="menuitem" tabindex="-1" href="#" data-toggle="modal" data-target="#exportModal_" id="easybib_modal"><img src="[% interface %]/[% theme %]/images/easybib.png"/> Cite on EasyBib</a> |
| 192 |
</li> |
| 193 |
[% END %] |
| 194 |
[% END %] |
| 195 |
</ul> |
| 196 |
</li> |
| 197 |
[% END %] |
| 179 |
</div> <!-- / #selections-toolbar --> |
198 |
</div> <!-- / #selections-toolbar --> |
| 180 |
|
199 |
|
| 181 |
<!-- TABLE RESULTS START --> |
200 |
<!-- TABLE RESULTS START --> |
|
Lines 981-984
$("input.newtag").on('keydown', function(e){
Link Here
|
| 981 |
}); |
1000 |
}); |
| 982 |
//]]> |
1001 |
//]]> |
| 983 |
</script> |
1002 |
</script> |
|
|
1003 |
[% IF Koha.Preference( 'OpacReferenceManager' ) %] |
| 1004 |
|
| 1005 |
<!-- Reference Manager Modal (EasyBib) --> |
| 1006 |
<div class="modal hide" id="exportModal_" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_" aria-hidden="true"> |
| 1007 |
<div class="modal-header"> |
| 1008 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
| 1009 |
<h3 class="modal-title" id="exportModalLabel">Cite your sources on EasyBib</h3> |
| 1010 |
</div> |
| 1011 |
<form method="get" role="form" id="easybib_form"> |
| 1012 |
<div class="modal-body"> |
| 1013 |
<div id="selections-toolbar" class="toolbar"> |
| 1014 |
<a id="CheckAllEasy" href="#">Select all</a> |
| 1015 |
<span class="sep">|</span> |
| 1016 |
<a id="CheckNoneEasy" href="#">Clear all</a> |
| 1017 |
<span class="sep">|</span> |
| 1018 |
</div> |
| 1019 |
<fieldset id="dc_fieldset"> |
| 1020 |
<div id="content" class="checkbox"> |
| 1021 |
</div> |
| 1022 |
<input name="format" value="ris" type="hidden"> |
| 1023 |
</fieldset> |
| 1024 |
</div> |
| 1025 |
<div class="modal-footer"> |
| 1026 |
<button type="submit" class="btn">Export</button> |
| 1027 |
<button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button> |
| 1028 |
</div> |
| 1029 |
</form> |
| 1030 |
<form method="post" id="ris_form" action="http://www.easybib.com/impexport/index/add" target="_blank" style="display:none;"> |
| 1031 |
<textarea id="mytest" name="records"></textarea> |
| 1032 |
<input type="submit"> |
| 1033 |
</form> |
| 1034 |
</div> |
| 1035 |
|
| 1036 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/reference_manager.js"></script> |
| 1037 |
|
| 1038 |
[% END %] |
| 984 |
[% END %] |
1039 |
[% END %] |