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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-4 / +9 lines)
Lines 43-49 Link Here
43
43
44
[% INCLUDE 'masthead.inc' %]
44
[% INCLUDE 'masthead.inc' %]
45
<div class="main">
45
<div class="main">
46
    <ul class="breadcrumb">
46
    <ul class="breadcrumb noprint">
47
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
47
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
48
        [% IF ( loggedinusername ) %]
48
        [% IF ( loggedinusername ) %]
49
            <li><a href="/cgi-bin/koha/opac-user.pl">[% FOREACH USER_INF IN USER_INFO %][% USER_INF.title %] [% USER_INF.firstname %] [% USER_INF.surname %][% END %]</a> <span class="divider">&rsaquo;</span></li>
49
            <li><a href="/cgi-bin/koha/opac-user.pl">[% FOREACH USER_INF IN USER_INFO %][% USER_INF.title %] [% USER_INF.firstname %] [% USER_INF.surname %][% END %]</a> <span class="divider">&rsaquo;</span></li>
Lines 91-97 Link Here
91
91
92
    <div class="container-fluid">
92
    <div class="container-fluid">
93
        <div class="row-fluid">
93
        <div class="row-fluid">
94
            [% IF ( OpacNav||loggedinusername ) %]
94
            [% IF ( OpacNav||loggedinusername ) && !print %]
95
                <div class="span2">
95
                <div class="span2">
96
                    <div id="navigation">
96
                    <div id="navigation">
97
                        [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
97
                        [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
Lines 168-174 Link Here
168
                                        <span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber | html %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber | html %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span>
168
                                        <span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber | html %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber | html %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span>
169
                                    [% END %]
169
                                    [% END %]
170
170
171
                                    <a class="print-small" href="/cgi-bin/koha/opac-shelves.pl" onclick="print(); return false;">Print list</a>
171
                                    <a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelfnumber %]&sort=[% sort %]&direction=[% direction %]&print=1">Print list</a>
172
172
173
                                    [% IF ( manageshelf ) %]
173
                                    [% IF ( manageshelf ) %]
174
                                        <span class="sep">|</span>
174
                                        <span class="sep">|</span>
Lines 248-254 Link Here
248
248
249
                            </div> <!-- / #toolbar -->
249
                            </div> <!-- / #toolbar -->
250
250
251
                            <div id="selections-toolbar" class="toolbar">
251
                            <div id="selections-toolbar" class="toolbar noprint">
252
                                <span class="checkall"></span> <span class="clearall"></span> <span class="sep">|</span>
252
                                <span class="checkall"></span> <span class="clearall"></span> <span class="sep">|</span>
253
                                <span class="links">
253
                                <span class="links">
254
                                    <span id="selections">Select titles to: </span>
254
                                    <span id="selections">Select titles to: </span>
Lines 1023-1028 $(function() { Link Here
1023
    [% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %]
1023
    [% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %]
1024
    [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %]
1024
    [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %]
1025
    $('#sort-submit').hide();
1025
    $('#sort-submit').hide();
1026
1027
    [% IF print %]
1028
        window.print();
1029
        setTimeout('window.close()', 1);
1030
    [% END %]
1026
}); // document.ready
1031
}); // document.ready
1027
1032
1028
function Check(f) {
1033
function Check(f) {
(-)a/opac/opac-shelves.pl (-2 / +5 lines)
Lines 33-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ Link Here
33
        type            => "opac",
33
        type            => "opac",
34
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
34
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
35
    });
35
    });
36
$template->param(listsview => 1);
36
37
$template->param(
38
    listsview => 1,
39
    print     => $query->param('print')
40
);
37
41
38
shelfpage('opac', $query, $template, $loggedinuser, $cookie);
42
shelfpage('opac', $query, $template, $loggedinuser, $cookie);
39
- 

Return to bug 13986