@@ -, +, @@ --- basket/sendbasket.pl | 3 +-- koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt | 6 ++++-- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt | 6 ++++-- opac/opac-sendbasket.pl | 3 +-- 4 files changed, 10 insertions(+), 8 deletions(-) --- a/basket/sendbasket.pl +++ a/basket/sendbasket.pl @@ -68,11 +68,10 @@ if( $csrf_err ) { my $comment = $query->param('comment'); # Since we are already logged in, no need to check credentials again - # We only need to add OPACBaseURL + # when loading a second template. my $template2 = C4::Templates::gettemplate( 'basket/sendbasket.tt', 'intranet', $query, ); - $template2->param( OPACBaseURL => C4::Context->preference('OPACBaseURL') ); my @bibs = split( /\//, $bib_list ); my @results; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt @@ -1,9 +1,10 @@ +[% USE HtmlToText %] +[% USE Koha %] + Your cart -[% USE HtmlToText %] -
[% FILTER html2text %] @@ -130,6 +131,7 @@ Your cart [% END %]

+ [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %] [% IF ( OPACBaseURL ) %]

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 +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt @@ -1,9 +1,10 @@ +[% USE HtmlToText %] +[% USE Koha %] + Your cart -[% USE HtmlToText %] -

[% FILTER html2text %] @@ -130,6 +131,7 @@ Your cart [% END %]

+ [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %] [% IF ( OPACBaseURL ) %]

In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %] --- a/opac/opac-sendbasket.pl +++ a/opac/opac-sendbasket.pl @@ -81,11 +81,10 @@ if( $csrf_err ) { $mail{'X-Abuse-Report'} = C4::Context->preference('KohaAdminEmailAddress'); # Since we are already logged in, no need to check credentials again - # We only need to add OPACBaseURL + # when loading a second template. my $template2 = C4::Templates::gettemplate( 'opac-sendbasket.tt', 'opac', $query, ); - $template2->param( OPACBaseURL => C4::Context->preference('OPACBaseURL') ); my @bibs = split( /\//, $bib_list ); my @results; --