From a3bc9cdf8267b06e90bb69f30c06c3c09d1dabda Mon Sep 17 00:00:00 2001 From: tipaul Date: Tue, 7 Dec 2004 10:10:40 +0000 Subject: [PATCH] email sent basket : the sender can give it's name, in case the basket is sent to a friend, not to itself --- koha-tmpl/opac-tmpl/css/en/opac-sendbasket.tmpl | 4 ++-- koha-tmpl/opac-tmpl/css/en/opac-sendbasketform.tmpl | 10 +++------- opac/opac-sendbasket.pl | 4 +++- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/opac-tmpl/css/en/opac-sendbasket.tmpl b/koha-tmpl/opac-tmpl/css/en/opac-sendbasket.tmpl index 996520e421..ddca193b64 100644 --- a/koha-tmpl/opac-tmpl/css/en/opac-sendbasket.tmpl +++ b/koha-tmpl/opac-tmpl/css/en/opac-sendbasket.tmpl @@ -4,7 +4,7 @@ Your biblio basket
Hi, -Here is your biblio basket... +Here is the biblio basket sent by @@ -13,7 +13,7 @@ basket.txt --------------------------------------------- -(record ) + ISBN: Subtitle: Author: diff --git a/koha-tmpl/opac-tmpl/css/en/opac-sendbasketform.tmpl b/koha-tmpl/opac-tmpl/css/en/opac-sendbasketform.tmpl index 320432685d..7d6c6566a9 100644 --- a/koha-tmpl/opac-tmpl/css/en/opac-sendbasketform.tmpl +++ b/koha-tmpl/opac-tmpl/css/en/opac-sendbasketform.tmpl @@ -10,13 +10,9 @@
" method="post"> - - - - - - -
E-mail address
 
+

+

+

" />
diff --git a/opac/opac-sendbasket.pl b/opac/opac-sendbasket.pl index ca678e5b2c..32812df986 100755 --- a/opac/opac-sendbasket.pl +++ b/opac/opac-sendbasket.pl @@ -23,6 +23,7 @@ my ($template, $borrowernumber, $cookie) my $bib_list=$query->param('bib_list'); my $email_add=$query->param('email_add'); +my $email_sender=$query->param('email_sender'); if ($email_add) { my $email_from = C4::Context->preference('KohaAdminEmailAddress'); @@ -58,7 +59,8 @@ if ($email_add) { } my $resultsarray=\@results; - $template2->param(BIBLIO_RESULTS => $resultsarray); + $template2->param(BIBLIO_RESULTS => $resultsarray, + email_sender => $email_sender); # Getting template result my $template_res = $template2->output(); -- 2.39.5