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

(-)a/basket/sendbasket.pl (-2 / +1 lines)
Lines 68-78 if( $csrf_err ) { Link Here
68
    my $comment    = $query->param('comment');
68
    my $comment    = $query->param('comment');
69
69
70
    # Since we are already logged in, no need to check credentials again
70
    # Since we are already logged in, no need to check credentials again
71
    # We only need to add OPACBaseURL
71
    # when loading a second template.
72
    my $template2 = C4::Templates::gettemplate(
72
    my $template2 = C4::Templates::gettemplate(
73
        'basket/sendbasket.tt', 'intranet', $query,
73
        'basket/sendbasket.tt', 'intranet', $query,
74
    );
74
    );
75
    $template2->param( OPACBaseURL => C4::Context->preference('OPACBaseURL') );
76
75
77
    my @bibs = split( /\//, $bib_list );
76
    my @bibs = split( /\//, $bib_list );
78
    my @results;
77
    my @results;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt (-2 / +4 lines)
Lines 1-9 Link Here
1
[% USE HtmlToText %]
2
[% USE Koha %]
3
1
<SUBJECT>
4
<SUBJECT>
2
Your cart
5
Your cart
3
<END_SUBJECT>
6
<END_SUBJECT>
4
7
5
[% USE HtmlToText %]
6
7
<HEADER>
8
<HEADER>
8
9
9
[% FILTER html2text %]
10
[% FILTER html2text %]
Lines 130-135 Your cart Link Here
130
            [% END %]
131
            [% END %]
131
            </p>
132
            </p>
132
133
134
            [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]
133
            [% IF ( OPACBaseURL ) %]
135
            [% IF ( OPACBaseURL ) %]
134
            <p>
136
            <p>
135
                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
137
                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt (-2 / +4 lines)
Lines 1-9 Link Here
1
[% USE HtmlToText %]
2
[% USE Koha %]
3
1
<SUBJECT>
4
<SUBJECT>
2
Your cart
5
Your cart
3
<END_SUBJECT>
6
<END_SUBJECT>
4
7
5
[% USE HtmlToText %]
6
7
<HEADER>
8
<HEADER>
8
9
9
[% FILTER html2text %]
10
[% FILTER html2text %]
Lines 130-135 Your cart Link Here
130
            [% END %]
131
            [% END %]
131
            </p>
132
            </p>
132
133
134
            [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]
133
            [% IF ( OPACBaseURL ) %]
135
            [% IF ( OPACBaseURL ) %]
134
            <p>
136
            <p>
135
                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
137
                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
(-)a/opac/opac-sendbasket.pl (-3 / +1 lines)
Lines 81-91 if( $csrf_err ) { Link Here
81
    $mail{'X-Abuse-Report'} = C4::Context->preference('KohaAdminEmailAddress');
81
    $mail{'X-Abuse-Report'} = C4::Context->preference('KohaAdminEmailAddress');
82
82
83
    # Since we are already logged in, no need to check credentials again
83
    # Since we are already logged in, no need to check credentials again
84
    # We only need to add OPACBaseURL
84
    # when loading a second template.
85
    my $template2 = C4::Templates::gettemplate(
85
    my $template2 = C4::Templates::gettemplate(
86
        'opac-sendbasket.tt', 'opac', $query,
86
        'opac-sendbasket.tt', 'opac', $query,
87
    );
87
    );
88
    $template2->param( OPACBaseURL => C4::Context->preference('OPACBaseURL') );
89
88
90
    my @bibs = split( /\//, $bib_list );
89
    my @bibs = split( /\//, $bib_list );
91
    my @results;
90
    my @results;
92
- 

Return to bug 17109