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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-sendbasket.tmpl (-1 / +1 lines)
Lines 5-11 Your Cart Link Here
5
<HEADER>
5
<HEADER>
6
Hi,
6
Hi,
7
7
8
Here is your cart, sent from our online catalog.
8
<!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> sent you a cart from our online catalog.
9
9
10
Please note that the attached file is a MARC biblographic records file
10
Please note that the attached file is a MARC biblographic records file
11
which can be imported into a Personal Bibliographic Software like EndNote,
11
which can be imported into a Personal Bibliographic Software like EndNote,
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-sendshelf.tmpl (-1 / +1 lines)
Lines 5-11 Your List : <!-- TMPL_VAR NAME="shelfname" --> Link Here
5
<HEADER>
5
<HEADER>
6
Hi,
6
Hi,
7
7
8
Here is your list called <!-- TMPL_VAR NAME="shelfname" -->, sent from our online catalog.
8
<!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->, sent you from our online catalog, the virtual shelf called :  <!-- TMPL_VAR NAME="shelfname" -->.
9
9
10
Please note that the attached file is a MARC biblographic records file
10
Please note that the attached file is a MARC biblographic records file
11
which can be imported into a Personal Bibliographic Software like EndNote,
11
which can be imported into a Personal Bibliographic Software like EndNote,
(-)a/opac/opac-sendbasket.pl (-2 / +8 lines)
Lines 28-33 use C4::Items; Link Here
28
use C4::Auth;
28
use C4::Auth;
29
use C4::Output;
29
use C4::Output;
30
use C4::Biblio;
30
use C4::Biblio;
31
use C4::Members;
31
32
32
my $query = new CGI;
33
my $query = new CGI;
33
34
Lines 36-42 my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( Link Here
36
        template_name   => "opac-sendbasketform.tmpl",
37
        template_name   => "opac-sendbasketform.tmpl",
37
        query           => $query,
38
        query           => $query,
38
        type            => "opac",
39
        type            => "opac",
39
        authnotrequired => 1,
40
        authnotrequired => 0,
40
        flagsrequired   => { borrow => 1 },
41
        flagsrequired   => { borrow => 1 },
41
    }
42
    }
42
);
43
);
Lines 92-101 if ( $email_add ) { Link Here
92
    }
93
    }
93
94
94
    my $resultsarray = \@results;
95
    my $resultsarray = \@results;
96
    
97
    my $user = GetMember($borrowernumber); 
98
    
95
    $template2->param(
99
    $template2->param(
96
        BIBLIO_RESULTS => $resultsarray,
100
        BIBLIO_RESULTS => $resultsarray,
97
        email_sender   => $email_sender,
101
        email_sender   => $email_sender,
98
        comment        => $comment
102
        comment        => $comment,
103
        firstname      => $user->{firstname},
104
        surname        => $user->{surname},
99
    );
105
    );
100
106
101
    # Getting template result
107
    # Getting template result
(-)a/opac/opac-sendshelf.pl (-1 / +5 lines)
Lines 31-36 use C4::Biblio; Link Here
31
use C4::Items;
31
use C4::Items;
32
use C4::Output;
32
use C4::Output;
33
use C4::VirtualShelves;
33
use C4::VirtualShelves;
34
use C4::Members;
34
35
35
my $query = new CGI;
36
my $query = new CGI;
36
37
Lines 97-107 if ( $email ) { Link Here
97
        push( @results, $dat );
98
        push( @results, $dat );
98
    }
99
    }
99
100
101
    my $user = GetMember($borrowernumber); 
102
100
    $template2->param(
103
    $template2->param(
101
        BIBLIO_RESULTS => \@results,
104
        BIBLIO_RESULTS => \@results,
102
        email_sender   => $email_from,
105
        email_sender   => $email_from,
103
        comment        => $comment,
106
        comment        => $comment,
104
        shelfname      => $shelf[1],
107
        shelfname      => $shelf[1],
108
        firstname      => $user->{firstname},
109
        surname        => $user->{surname},
105
    );
110
    );
106
111
107
    # Getting template result
112
    # Getting template result
108
- 

Return to bug 3651