View | Details | Raw Unified | Return to bug 16243
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_16243-add_reference_managers.sql (+1 lines)
Line 0 Link Here
1
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('OpacReferenceManager','mendeley,easybib','Select reference manager software options that should be available from OPAC detail, basket and list pages.','','multiple');
(-)a/installer/data/mysql/sysprefs.sql (-1 / +2 lines)
Lines 551-555 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
551
('XSLTListsDisplay','default','','Enable XSLT stylesheet control over lists pages display on intranet','Free'),
551
('XSLTListsDisplay','default','','Enable XSLT stylesheet control over lists pages display on intranet','Free'),
552
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
552
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
553
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
553
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
554
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo')
554
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
555
('OpacReferenceManager','mendeley,easybib','','Select reference manager software options that should be available from OPAC detail, basket and list pages.','multiple')
555
;
556
;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (+6 lines)
Lines 264-269 OPAC: Link Here
264
              type: htmlarea
264
              type: htmlarea
265
              class: code
265
              class: code
266
        -
266
        -
267
            - 'Select reference manager software options that should be available from OPAC detail, basket and list pages:'
268
            - pref: OpacReferenceManager
269
              multiple:
270
                mendeley: Mendeley (Reference Manager Software)
271
                easybib: EasyBib (Free Bibliography Generator)
272
        -
267
            - pref: OpacAddMastheadLibraryPulldown
273
            - pref: OpacAddMastheadLibraryPulldown
268
              choices: 
274
              choices: 
269
                  yes: Add
275
                  yes: Add
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (+5 lines)
Lines 166-171 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
166
        delSingleRecord('[% biblionumber %]');
166
        delSingleRecord('[% biblionumber %]');
167
        return false;
167
        return false;
168
    });
168
    });
169
170
    [% IF Koha.Preference( 'OpacReferenceManager' ) %]
171
        var MSG_NO_EASYBIB_TITLE_SELECTED = _("Please select at least one title to cite on EasyBib");
172
    [% END %]
173
169
    //]]>
174
    //]]>
170
</script>
175
</script>
171
176
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc (+13 lines)
Lines 62-67 Link Here
62
        </li>
62
        </li>
63
    [% END %]
63
    [% END %]
64
64
65
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
66
    [% PROCESS 'opac-reference-manager.inc' %]
67
    [% INCLUDE menu_side_bar %]
68
[% END %]
69
65
    [% IF ( OPACSearchForTitleIn ) %]
70
    [% IF ( OPACSearchForTitleIn ) %]
66
        <li>
71
        <li>
67
            <div id="moresearches_menu">
72
            <div id="moresearches_menu">
Lines 105-107 Link Here
105
    </div>
110
    </div>
106
    </form>
111
    </form>
107
</div>
112
</div>
113
114
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
115
<!-- Form to send RIS data to EasyBib -->
116
<form method="post" id="ris_form" action="http://www.easybib.com/impexport/index/add" target="_blank">
117
    <textarea id="easybibTextArea" name="records"></textarea>
118
    <input type="submit">
119
</form>
120
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-reference-manager.inc (+106 lines)
Line 0 Link Here
1
[% BLOCK modal_main %]
2
<!-- Reference Manager Modal (EasyBib) -->
3
<div class="modal hide" id="exportModal_" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_" aria-hidden="true">
4
    <div class="modal-header">
5
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true" id="closeEasyBibModal">&times;</button>
6
        <h3 class="modal-title" id="exportModalLabel">Cite your sources on EasyBib</h3>
7
    </div>
8
    <form method="get" role="form" id="easybib_form">
9
    <div class="modal-body">
10
        <div id="selections-toolbar" class="toolbar">
11
            <a id="CheckAllEasy" href="#">Select all</a>
12
            <span class="sep">|</span>
13
            <a id="CheckNoneEasy" href="#">Clear all</a>
14
            <span class="sep">|</span>
15
        </div>
16
        <fieldset id="reference_manager_fieldset">
17
            <div id="content" class="checkbox">
18
            </div>
19
        </fieldset>
20
    </div>
21
    <div class="modal-footer">
22
        <button type="submit" class="btn">Export</button>
23
        <button class="btn btn-link" data-dismiss="modal" aria-hidden="true" id="cancelEasyBibModal">Cancel</button>
24
    </div>
25
    </form>
26
<form method="post" id="ris_form" action="http://www.easybib.com/impexport/index/add" target="_blank">
27
    <textarea id="easybibTextArea" name="records"></textarea>
28
    <input type="submit">
29
</form>
30
</div>
31
<script type="text/javascript" src="[% interface %]/[% theme %]/js/reference_manager.js"></script>
32
[% END %]
33
34
[% BLOCK menu_basket %]
35
<!-- Reference Manager Menu (EasyBib)-Basket -->
36
    [% SET reference_manager_options = Koha.Preference('OpacReferenceManager').split(',') %]
37
    [% IF reference_manager_options.size %]
38
                                        <span class="sep">|</span>
39
        <li class="dropdown">
40
                    <a id="reference_manager" class="dropdown-toggle" role="button" data-toggle="dropdown" href="#">Export to Reference Manager <b class="caret"></b></a>
41
                        <ul class="dropdown-menu" role="menu" aria-labelledby="listsmenu">
42
                            [% FOREACH option IN reference_manager_options %]
43
                                [% IF option == 'mendeley' %]
44
                                <li role="presentation">
45
                                    <a role="menuitem" tabindex="-1" href="#" id="mendeley_modal">Save to Mendeley</a>
46
                                </li>
47
                                [% ELSE %]
48
                                <li role="presentation">
49
                                    <a role="menuitem" tabindex="-1" href="#" data-toggle="modal" data-target="#exportModal_" id="easybib_modal_basket">Cite on EasyBib</a>
50
                                </li>
51
                                [% END %]
52
                            [% END %]
53
                        </ul>
54
        </li>
55
    [% END %]
56
57
[% END %]
58
59
[% BLOCK menu_list_results %]
60
<!-- Reference Manager Menu (EasyBib)-OPAC Lists and Results -->
61
    [% SET reference_manager_options = Koha.Preference('OpacReferenceManager').split(',') %]
62
    [% IF reference_manager_options.size %]
63
                                        <span class="sep">|</span>
64
        <li class="dropdown">
65
                    <a id="reference_manager" class="dropdown-toggle" role="button" data-toggle="dropdown" href="#">Export to Reference Manager <b class="caret"></b></a>
66
                        <ul class="dropdown-menu" role="menu" aria-labelledby="listsmenu">
67
                            [% FOREACH option IN reference_manager_options %]
68
                                [% IF option == 'mendeley' %]
69
                                <li role="presentation">
70
                                    <a role="menuitem" tabindex="-1" href="#" id="mendeley_modal">Save to Mendeley</a>
71
                                </li>
72
                                [% ELSE %]
73
                                <li role="presentation">
74
                                    <a role="menuitem" tabindex="-1" href="#" data-toggle="modal" data-target="#exportModal_" id="easybib_modal">Cite on EasyBib</a>
75
                                </li>
76
                                [% END %]
77
                            [% END %]
78
                        </ul>
79
        </li>
80
    [% END %]
81
[% END %]
82
83
[% BLOCK menu_side_bar %]
84
    [% SET reference_manager_options = Koha.Preference('OpacReferenceManager').split(',') %]
85
    [% IF reference_manager_options.size %]
86
        <li>
87
            <div id="exportORM_menu">
88
            <div class="dropdown">
89
                    <a id="export_reference_manager" class="dropdown-toggle" data-toggle="dropdown" href="#">Export to Reference Manager <b class="caret"></b></a>
90
                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="export_reference_manager">
91
                            [% FOREACH option IN reference_manager_options %]
92
                                [% IF option == 'mendeley' %]
93
                                <li>
94
                                    <a role="menuitem" href="#" id="mendeley_modal">Save to Mendeley</a>
95
                                </li>
96
                                [% ELSE %]
97
                                <li>
98
                                    <a role="menuitem" href="#" id="easybib_menu" data-bibnum="[% biblionumber %]">Cite on EasyBib</a>
99
                                </li>
100
                                [% END %]
101
                            [% END %]
102
                        </ul>
103
             </div></div>
104
        </li>
105
    [% END %]
106
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt (-1 / +5 lines)
Lines 35-38 Link Here
35
</div> <!-- / .main -->
35
</div> <!-- / .main -->
36
36
37
[% INCLUDE 'opac-bottom.inc' %]
37
[% INCLUDE 'opac-bottom.inc' %]
38
[% BLOCK jsinclude %][% END %]
38
[% BLOCK jsinclude %]
39
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
40
<script type="text/javascript" src="[% interface %]/[% theme %]/js/reference_manager.js"></script>
41
[% END %]
42
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt (+3 lines)
Lines 207-210 $(document).ready(function(){ Link Here
207
[% END %]
207
[% END %]
208
//]]>
208
//]]>
209
</script>
209
</script>
210
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
211
<script type="text/javascript" src="[% interface %]/[% theme %]/js/reference_manager.js"></script>
212
[% END %]
210
[% END %]
213
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-1 / +11 lines)
Lines 29-34 Link Here
29
                                <a class="print-large" href="opac-basket.pl" onclick="printBasket(); return false;">Print</a>
29
                                <a class="print-large" href="opac-basket.pl" onclick="printBasket(); return false;">Print</a>
30
                                <a class="empty" href="opac-basket.pl" onclick="delBasket(); return false;">Empty and close</a>
30
                                <a class="empty" href="opac-basket.pl" onclick="delBasket(); return false;">Empty and close</a>
31
                                <a class="hide close" href="opac-basket.pl">Hide window</a>
31
                                <a class="hide close" href="opac-basket.pl">Hide window</a>
32
33
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
34
    [% PROCESS 'opac-reference-manager.inc' %]
35
    [% INCLUDE menu_basket %]
36
[% END %]
37
32
                            </div>
38
                            </div>
33
39
34
                            <div id="selections-toolbar" class="toolbar">
40
                            <div id="selections-toolbar" class="toolbar">
Lines 263-269 Link Here
263
                                                </td>
269
                                                </td>
264
                                            [% END %]
270
                                            [% END %]
265
                                            <td>
271
                                            <td>
266
                                                <a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest %]',[% BIBLIO_RESULT.biblionumber %])">[% BIBLIO_RESULT.title |html %][% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %][% subtitl.subfield |html %][% END %][% END %]</a>
272
                                                <a class="title" href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest %]',[% BIBLIO_RESULT.biblionumber %])" data-bibnumber="[% BIBLIO_RESULT.biblionumber %]">[% BIBLIO_RESULT.title |html %][% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %][% subtitl.subfield |html %][% END %][% END %]</a>
267
                                                <!-- COinS / Openurl -->
273
                                                <!-- COinS / Openurl -->
268
                                                <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition %]&amp;rft.series=[% BIBLIO_RESULT.series %]&amp;rft.genre="></span>
274
                                                <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition %]&amp;rft.series=[% BIBLIO_RESULT.series %]&amp;rft.genre="></span>
269
                                                [% IF ( TagsInputEnabled && loggedinusername ) %]
275
                                                [% IF ( TagsInputEnabled && loggedinusername ) %]
Lines 426-429 Link Here
426
            //]]>
432
            //]]>
427
        </script>
433
        </script>
428
    [% END # / IF print_basket %]
434
    [% END # / IF print_basket %]
435
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
436
    [% INCLUDE modal_main %]
437
[% END %]
438
429
[% END # / BLOCK jsinclude %]
439
[% END # / BLOCK jsinclude %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (+3 lines)
Lines 1865-1868 Link Here
1865
    //]]>
1865
    //]]>
1866
    </script>
1866
    </script>
1867
[% END # / IF OPACPopupAuthorsSearch  %]
1867
[% END # / IF OPACPopupAuthorsSearch  %]
1868
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
1869
<script type="text/javascript" src="[% interface %]/[% theme %]/js/reference_manager.js"></script>
1870
[% END %]
1868
[% END %]
1871
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-1 / +10 lines)
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
179
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
180
    [% PROCESS 'opac-reference-manager.inc' %]
181
    [% INCLUDE menu_list_results %]
182
[% END %]
183
179
                                </div> <!-- / #selections-toolbar -->
184
                                </div> <!-- / #selections-toolbar -->
180
185
181
                                <!-- TABLE RESULTS START -->
186
                                <!-- TABLE RESULTS START -->
Lines 969-972 $("input.newtag").on('keydown', function(e){ Link Here
969
});
974
});
970
//]]>
975
//]]>
971
</script>
976
</script>
977
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
978
    [% PROCESS 'opac-reference-manager.inc' %]
979
    [% INCLUDE modal_main %]
980
[% END %]
972
[% END %]
981
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (+10 lines)
Lines 278-283 Link Here
278
                                        <span id="removeitems"></span>
278
                                        <span id="removeitems"></span>
279
                                    [% END %]
279
                                    [% END %]
280
                                </span> <!-- / .links -->
280
                                </span> <!-- / .links -->
281
282
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
283
    [% PROCESS 'opac-reference-manager.inc' %]
284
    [% INCLUDE menu_list_results %]
285
[% END %]
286
281
                            </div> <!-- / #selections-toolbar -->
287
                            </div> <!-- / #selections-toolbar -->
282
288
283
                            <form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed">
289
                            <form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="myform" name="myform" class="checkboxed">
Lines 962-965 function Check(f) { Link Here
962
}
968
}
963
//]]>
969
//]]>
964
</script>
970
</script>
971
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
972
    [% PROCESS 'opac-reference-manager.inc' %]
973
    [% INCLUDE modal_main %]
974
[% END %]
965
[% END %]
975
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/reference_manager.js (+114 lines)
Line 0 Link Here
1
//Invoke for Mendeley Reference Manager
2
3
function getMendeleyModal(){
4
    document.getElementsByTagName('body')[0].appendChild(document.createElement('script')).setAttribute('src','https://www.mendeley.com/minified/bookmarklet.js');
5
}
6
7
$(document).ready(function(){
8
    $( "#mendeley_modal" ).click(function( event ){
9
        event.preventDefault();
10
        getMendeleyModal();
11
        return false;
12
    });
13
});
14
15
//EasyBib for opac results and patron lists
16
17
$(document).ready(function(){
18
19
    $("#CheckAllEasy").click(function(){
20
        $( ".easycheck" ).prop( "checked", true );
21
    });
22
23
    $("#CheckNoneEasy").click(function(){
24
        $( ".easycheck" ).prop( "checked", false );
25
    });
26
27
    $("#closeEasyBibModal, #cancelEasyBibModal").click(function(){
28
        $( ".easycheck" ).remove();
29
        $( ".label_reference_manager" ).remove();
30
        $( ".crRecord" ).remove();
31
        $( ".recordSeparator" ).remove();
32
    });
33
34
    $("#easybib_modal").click(function(){
35
        $( ".cb" ).each(function( index ) {
36
            var value = $( this ).val();
37
            var id = "biblionumber" + value;
38
            var checkbox = "<input type='checkbox' name='bib' value='" + value + "' id='" + id + "' class='easycheck'>";
39
            $( checkbox ).appendTo( "#content" );
40
            $( ".title" ).each(function( i ) {
41
                var title = $( this ).text();
42
                var href = $( this ).attr("href");
43
                var url = "/cgi-bin/koha/opac-detail.pl?biblionumber=" + value + "&query_desc=";
44
                var urlShelves = "/cgi-bin/koha/opac-detail.pl?biblionumber=" + value;
45
                if ( href == url || href == urlShelves ){
46
                    var label = "<label for='" + id + "' class='label_reference_manager'>" + title + "</label>";
47
                    $( label ).appendTo( "#content" );
48
                    $( "<br class='crRecord'>" ).appendTo( "#content" );
49
                    $( "<hr class='recordSeparator'>" ).appendTo( "#content" );
50
                }
51
            });
52
        });
53
    });
54
55
//EasyBib for basket
56
57
    $("#easybib_modal_basket").click(function(){
58
        $( ".title" ).each(function( index ) {
59
            var data_bibnum = $( this ).data( "bibnumber" );
60
            var id = "biblionumber" + data_bibnum;
61
            var checkbox = "<input type='checkbox' name='bib' value='" + data_bibnum + "' id='" + id + "' class='easycheck'>";
62
            $( checkbox ).appendTo( "#content" );
63
            var title = $( this ).text();
64
            var label = "<label for='" + id + "' class='label_reference_manager'>" + title + "</label>";
65
            $( label ).appendTo( "#content" );
66
            $( "<br class='crRecord'>" ).appendTo( "#content" );
67
            $( "<hr class='recordSeparator'>" ).appendTo( "#content" );
68
        });
69
    });
70
});
71
72
$( "#easybib_form" ).submit(function( event ) {
73
    event.preventDefault();
74
    var recordSelected = [];
75
    var totalSeleceted;
76
        $.each($(".easycheck:checked"), function(){
77
            recordSelected.push($(this).val());
78
        });
79
        if ( recordSelected.length > 0 ) {
80
            totalSelected = recordSelected.join( "/" );
81
            $.ajax({
82
                url: "/cgi-bin/koha/opac-downloadcart.pl",
83
                contentType: "application/x-www-form-urlencoded; charset=UTF-8",
84
                type: "post",
85
                data: { format: "ris", bib_list: totalSelected },
86
                success: function( data ){
87
                    $( "#easybibTextArea" ).html(data);
88
                    $( "#ris_form" ).submit();
89
                    $( "#closeEasyBibModal" ).click();
90
                }
91
            });
92
        } else {
93
            alert ( MSG_NO_EASYBIB_TITLE_SELECTED );
94
        }
95
});
96
97
//EasyBib for opac detail record and populate data
98
$(document).ready(function(){
99
    $( "#easybib_menu" ).click(function( event ){
100
        event.preventDefault();
101
        var bibNumber = $( this ).data( "bibnum" );
102
        $.ajax({
103
            url: "/cgi-bin/koha/opac-export.pl",
104
            contentType: "application/x-www-form-urlencoded; charset=UTF-8",
105
            type: "get",
106
            data: { op: "export", bib: bibNumber, format: "ris" },
107
            success: function( data ){
108
                $( "#easybibTextArea" ).html(data);
109
                $( "#ris_form" ).submit();
110
            }
111
        });
112
    return false;
113
    });
114
});
(-)a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less (-3 / +29 lines)
Lines 1298-1303 div.rows { Link Here
1298
}
1298
}
1299
1299
1300
#export,
1300
#export,
1301
#exportORM_menu,
1301
#moresearches_menu {
1302
#moresearches_menu {
1302
    li {
1303
    li {
1303
        padding : 0;
1304
        padding : 0;
Lines 1312-1318 div.rows { Link Here
1312
}
1313
}
1313
1314
1314
#format,
1315
#format,
1315
#furthersearches {
1316
#furthersearches,
1317
#export_reference_manager {
1316
    padding-left : 35px;
1318
    padding-left : 35px;
1317
}
1319
}
1318
.highlight_controls {
1320
.highlight_controls {
Lines 2489-2506 a.reviewlink:visited { Link Here
2489
    font-size: 90%;
2491
    font-size: 90%;
2490
}
2492
}
2491
2493
2492
#dc_fieldset {
2494
#dc_fieldset,
2495
#reference_manager_fieldset {
2493
    border: 1px solid #dddddd;
2496
    border: 1px solid #dddddd;
2494
    border-width: 1px;
2497
    border-width: 1px;
2495
    padding: 5px;
2498
    padding: 5px;
2496
    border-radius: 10px
2499
    border-radius: 10px
2497
}
2500
}
2498
2501
2499
.label_dc{
2502
.label_dc,
2503
.label_reference_manager {
2500
    display: inline;
2504
    display: inline;
2501
    padding: 0px;
2505
    padding: 0px;
2502
    margin: 0px;
2506
    margin: 0px;
2503
    cursor: pointer;
2507
    cursor: pointer;
2504
}
2508
}
2505
2509
2510
#mendeley_modal {
2511
    background-image: url("../images/mendeley.png");
2512
    background-repeat: no-repeat;
2513
    text-decoration: none;
2514
    padding-left: 35px;
2515
    margin-left: 5px;
2516
}
2517
2518
#easybib_menu,
2519
#easybib_modal,
2520
#easybib_modal_basket {
2521
    background-image: url("../images/easybib.png");
2522
    background-repeat: no-repeat;
2523
    text-decoration : none;
2524
    padding-left: 35px;
2525
    margin-left: 5px;
2526
}
2527
2528
#ris_form {
2529
    display: none;
2530
}
2531
2506
@import "responsive.less";
2532
@import "responsive.less";
(-)a/opac/opac-downloadcart.pl (-1 / +1 lines)
Lines 106-111 if ($bib_list && $format) { Link Here
106
    print $query->header(
106
    print $query->header(
107
                               -type => ($type) ? $type : 'application/octet-stream',
107
                               -type => ($type) ? $type : 'application/octet-stream',
108
        -'Content-Transfer-Encoding' => 'binary',
108
        -'Content-Transfer-Encoding' => 'binary',
109
                         -charset    => 'utf-8',
109
                         -attachment => ($extension) ? "cart.$format.$extension" : "cart.$format"
110
                         -attachment => ($extension) ? "cart.$format.$extension" : "cart.$format"
110
    );
111
    );
111
    print $output;
112
    print $output;
112
- 

Return to bug 16243