Browse Source

Actually display the default currency and amount on the landing page

develop
Sven Slootweg 8 years ago
parent
commit
a0d137aa54
  1. 3
      public_html/modules/landing.php
  2. 2
      public_html/templates/landing.tpl

3
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
));

2
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.
</p>
<p class="pledge-button">

Loading…
Cancel
Save