From 3bcd2e24240191bfe9052205bb32aa756a6e4f49 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Tue, 26 Feb 2013 05:14:42 +0100 Subject: [PATCH] Fix information in subscription confirmation e-mail template --- public_html/modules/subscribe.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public_html/modules/subscribe.php b/public_html/modules/subscribe.php index f15dc91..3890c70 100644 --- a/public_html/modules/subscribe.php +++ b/public_html/modules/subscribe.php @@ -92,13 +92,13 @@ $sSubscription->InsertIntoDatabase(); send_mail($_POST['email'], "Please confirm your ReDonate pledge.", NewTemplater::Render("email/confirm.txt", $locale->strings, array( "project-name" => $sCampaign->sName, - "confirmation-url" => "http://redonate.cryto.net/confirm/{$sSubscription->sEmailAddress}/{$sSubscription->sConfirmationKey}/", - "amount" => "$5.00")), + "confirmation-url" => "http://redonate.net/confirm/{$sSubscription->sEmailAddress}/{$sSubscription->sConfirmationKey}/", + "amount" => Currency::Format($sSubscription->sCurrency, $sSubscription->sAmount))), NewTemplater::Render("email/layout.html", $locale->strings, array( "contents" => NewTemplater::Render("email/confirm.html", $locale->strings, array( "project-name" => $sCampaign->sName, - "confirmation-url" => "http://redonate.cryto.net/confirm/{$sSubscription->sEmailAddress}/{$sSubscription->sConfirmationKey}/", - "amount" => "$5.00")) + "confirmation-url" => "http://redonate.net/confirm/{$sSubscription->sEmailAddress}/{$sSubscription->sConfirmationKey}/", + "amount" => Currency::Format($sSubscription->sCurrency, $sSubscription->sAmount))) )) );