From 51fbaf8f5b75351036f252170437a822d36ac230 Mon Sep 17 00:00:00 2001 From: Frederic Demians Date: Tue, 10 Jun 2008 11:23:09 +0200 Subject: [PATCH] Fixes bug #2231 In OPAC, when cart is sent by email, the email contains an attachement: an ISO2709 file with cart biblio records. Most users don't have a clue what to do with this file. This patch modifies opac-sendbasket.tmpl to clarify what the attachment is. It also fix a bug in opac-sendbasket.pl which wasn't reading the template section containing information about the basket: Here is your cart, sent from the Koha Online Catalog... foo It may be necessary to verify that template text is in 'valid' English... Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/modules/opac-sendbasket.tmpl | 7 ++++++- opac/opac-sendbasket.pl | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-sendbasket.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-sendbasket.tmpl index ea50856b93..bd3c5af048 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-sendbasket.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-sendbasket.tmpl @@ -4,7 +4,12 @@ Your Cart
Hi, -Here is your cart, sent from the Koha Online Catalog by + +Here is your cart, sent from our Online Catalog. + +Please note that the attached file is a MARC biblographic records file +which can be imported into a Personal Bibliographic Software like EndNote, +Reference Manager or ProCite. diff --git a/opac/opac-sendbasket.pl b/opac/opac-sendbasket.pl index eee5eac49b..79b5f46f9f 100755 --- a/opac/opac-sendbasket.pl +++ b/opac/opac-sendbasket.pl @@ -136,6 +136,7 @@ $boundary Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable +$email_header $body $boundary Content-Type: application/octet-stream; name="basket.iso2709" -- 2.39.5