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 162-168 Link Here
162
                                        <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>
162
                                        <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>
163
                                    [% END %]
163
                                    [% END %]
164
164
165
                                    <a class="print-small" href="/cgi-bin/koha/opac-shelves.pl" onclick="print(); return false;">Print list</a>
165
                                    <a class="print-small" target="_blank" href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% shelfnumber %]&sort=[% sort %]&direction=[% direction %]&print=1">Print list</a>
166
166
167
                                    [% IF ( manageshelf ) %]
167
                                    [% IF ( manageshelf ) %]
168
                                        <span class="sep">|</span>
168
                                        <span class="sep">|</span>
Lines 242-248 Link Here
242
242
243
                            </div> <!-- / #toolbar -->
243
                            </div> <!-- / #toolbar -->
244
244
245
                            <div id="selections-toolbar" class="toolbar">
245
                            <div id="selections-toolbar" class="toolbar noprint">
246
                                <span class="checkall"></span> <span class="clearall"></span> <span class="sep">|</span>
246
                                <span class="checkall"></span> <span class="clearall"></span> <span class="sep">|</span>
247
                                <span class="links">
247
                                <span class="links">
248
                                    <span id="selections">Select titles to: </span>
248
                                    <span id="selections">Select titles to: </span>
Lines 1017-1022 $(function() { Link Here
1017
    [% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %]
1017
    [% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %]
1018
    [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %]
1018
    [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %]
1019
    $('#sort-submit').hide();
1019
    $('#sort-submit').hide();
1020
1021
    [% IF print %]
1022
        window.print();
1023
        setTimeout('window.close()', 1);
1024
    [% END %]
1020
}); // document.ready
1025
}); // document.ready
1021
1026
1022
function Check(f) {
1027
function Check(f) {
(-)a/opac/opac-shelves.pl (-2 / +5 lines)
Lines 31-36 my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ Link Here
31
        type            => "opac",
31
        type            => "opac",
32
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
32
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
33
    });
33
    });
34
$template->param(listsview => 1);
34
35
$template->param(
36
    listsview => 1,
37
    print     => $query->param('print')
38
);
35
39
36
shelfpage('opac', $query, $template, $loggedinuser, $cookie);
40
shelfpage('opac', $query, $template, $loggedinuser, $cookie);
37
- 

Return to bug 13986