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 533-537 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
533
('XSLTDetailsDisplay','default','','Enable XSL stylesheet control over details page display on intranet','Free'),
533
('XSLTDetailsDisplay','default','','Enable XSL stylesheet control over details page display on intranet','Free'),
534
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
534
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
535
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
535
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
536
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo')
536
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
537
('OpacReferenceManager','mendeley,easybib','','Select reference manager software options that should be available from OPAC detail, basket and list pages.','multiple')
537
;
538
;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (+6 lines)
Lines 258-263 OPAC: Link Here
258
              type: htmlarea
258
              type: htmlarea
259
              class: code
259
              class: code
260
        -
260
        -
261
            - 'Select reference manager software options that should be available from OPAC detail, basket and list pages:'
262
            - pref: OpacReferenceManager
263
              multiple:
264
                mendeley: Mendeley (Reference Manager Software)
265
                easybib: EasyBib (Free Bibliography Generator)
266
        -
261
            - pref: OpacAddMastheadLibraryPulldown
267
            - pref: OpacAddMastheadLibraryPulldown
262
              choices: 
268
              choices: 
263
                  yes: Add
269
                  yes: Add
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (+3 lines)
Lines 150-155 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
150
            verify_images();
150
            verify_images();
151
         });
151
         });
152
    [% END %]
152
    [% END %]
153
    [% IF Koha.Preference( 'OpacReferenceManager' ) %]
154
        var MSG_NO_EASYBIB_TITLE_SELECTED = _("Please select at least one title to cite on EasyBib");
155
    [% END %]
153
    //]]>
156
    //]]>
154
</script>
157
</script>
155
158
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc (+13 lines)
Lines 64-69 Link Here
64
        </li>
64
        </li>
65
    [% END %]
65
    [% END %]
66
66
67
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
68
    [% PROCESS 'opac-reference-manager.inc' %]
69
    [% INCLUDE menu_side_bar %]
70
[% END %]
71
67
    [% IF ( OPACSearchForTitleIn ) %]
72
    [% IF ( OPACSearchForTitleIn ) %]
68
        <li>
73
        <li>
69
            <div id="moresearches_menu">
74
            <div id="moresearches_menu">
Lines 107-109 Link Here
107
    </div>
112
    </div>
108
    </form>
113
    </form>
109
</div>
114
</div>
115
116
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
117
<!-- Form to send RIS data to EasyBib -->
118
<form method="post" id="ris_form" action="http://www.easybib.com/impexport/index/add" target="_blank">
119
    <textarea id="easybibTextArea" name="records"></textarea>
120
    <input type="submit">
121
</form>
122
[% 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 1873-1876 Link Here
1873
    //]]>
1873
    //]]>
1874
    </script>
1874
    </script>
1875
[% END # / IF OPACPopupAuthorsSearch  %]
1875
[% END # / IF OPACPopupAuthorsSearch  %]
1876
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
1877
<script type="text/javascript" src="[% interface %]/[% theme %]/js/reference_manager.js"></script>
1878
[% END %]
1876
[% END %]
1879
[% 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 981-984 $("input.newtag").on('keydown', function(e){ Link Here
981
});
986
});
982
//]]>
987
//]]>
983
</script>
988
</script>
989
[% IF Koha.Preference( 'OpacReferenceManager' ) %]
990
    [% PROCESS 'opac-reference-manager.inc' %]
991
    [% INCLUDE modal_main %]
992
[% END %]
984
[% END %]
993
[% 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 2487-2504 a.reviewlink:visited { Link Here
2487
    font-size: 90%;
2489
    font-size: 90%;
2488
}
2490
}
2489
2491
2490
#dc_fieldset {
2492
#dc_fieldset,
2493
#reference_manager_fieldset {
2491
    border: 1px solid #dddddd;
2494
    border: 1px solid #dddddd;
2492
    border-width: 1px;
2495
    border-width: 1px;
2493
    padding: 5px;
2496
    padding: 5px;
2494
    border-radius: 10px
2497
    border-radius: 10px
2495
}
2498
}
2496
2499
2497
.label_dc{
2500
.label_dc,
2501
.label_reference_manager {
2498
    display: inline;
2502
    display: inline;
2499
    padding: 0px;
2503
    padding: 0px;
2500
    margin: 0px;
2504
    margin: 0px;
2501
    cursor: pointer;
2505
    cursor: pointer;
2502
}
2506
}
2503
2507
2508
#mendeley_modal {
2509
    background-image: url("../images/mendeley.png");
2510
    background-repeat: no-repeat;
2511
    text-decoration: none;
2512
    padding-left: 35px;
2513
    margin-left: 5px;
2514
}
2515
2516
#easybib_menu,
2517
#easybib_modal,
2518
#easybib_modal_basket {
2519
    background-image: url("../images/easybib.png");
2520
    background-repeat: no-repeat;
2521
    text-decoration : none;
2522
    padding-left: 35px;
2523
    margin-left: 5px;
2524
}
2525
2526
#ris_form {
2527
    display: none;
2528
}
2529
2504
@import "responsive.less";
2530
@import "responsive.less";
(-)a/opac/opac-downloadcart.pl (-1 / +1 lines)
Lines 90-95 if ($bib_list && $format) { Link Here
90
    print $query->header(
90
    print $query->header(
91
                               -type => ($type) ? $type : 'application/octet-stream',
91
                               -type => ($type) ? $type : 'application/octet-stream',
92
        -'Content-Transfer-Encoding' => 'binary',
92
        -'Content-Transfer-Encoding' => 'binary',
93
                         -charset    => 'utf-8',
93
                         -attachment => ($extension) ? "cart.$format.$extension" : "cart.$format"
94
                         -attachment => ($extension) ? "cart.$format.$extension" : "cart.$format"
94
    );
95
    );
95
    print $output;
96
    print $output;
96
- 

Return to bug 16243