From a0d137aa545ebd2b9546ab012aa3ce168c6f2223 Mon Sep 17 00:00:00 2001
From: Sven Slootweg
Date: Wed, 12 Jun 2013 22:36:52 +0200
Subject: [PATCH] Actually display the default currency and amount on the
landing page
---
public_html/modules/landing.php | 3 +++
public_html/templates/landing.tpl | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/public_html/modules/landing.php b/public_html/modules/landing.php
index d8194d6..db7bcb7 100644
--- a/public_html/modules/landing.php
+++ b/public_html/modules/landing.php
@@ -59,4 +59,7 @@ $sPageContents = NewTemplater::Render("landing", $locale->strings, array(
"project-name" => $sCampaign->sName,
"urlname" => $sCampaign->sUrlName,
"methods" => $sPaymentMethods
+), array(
+ "currency" => $sCampaign->sDefaultCurrency,
+ "amount" => $sCampaign->sDefaultAmount
));
diff --git a/public_html/templates/landing.tpl b/public_html/templates/landing.tpl
index 947bbcd..765566f 100644
--- a/public_html/templates/landing.tpl
+++ b/public_html/templates/landing.tpl
@@ -55,7 +55,7 @@
{%option value="eur" text="€"}
{%option value="btc" text="BTC"}
{%/select}
- {%input type="text" name="amount" id="field_amount" value="5.00"}
+ {%input type="text" name="amount" id="field_amount"}
a month.