Add bitcoin fields (Receiving address and QR code file location) to Donate theme / extension
This commit is contained in:
parent
0cebb58390
commit
e7f5e1ce15
@ -25,10 +25,13 @@
|
||||
<h2>Thanks for donating</h2>
|
||||
<p>The server costs {{ settings.monthlyamount }} per month. If you buy stickers we get about 45-55% of whatever you spend. Historical donation records to the former owner are ForeverN2Dust is the top donator, giving about $3000. FOOFDOOF is #2 with $1000 and lots of cheap Chinese shit. Please specify what you'd like your money to go towards. If you don't want to buy stickers, but want to donate something else please either ask in /q/ or contact the Lainchan administration on IRC at #lainchan on Freenode.
|
||||
</p>
|
||||
|
||||
<p><a href="https://www.stickermule.com/marketplace/tags/lainchan"> Buy stickers here</a>
|
||||
</p>
|
||||
|
||||
<p>Bitcoin donations can be made to {{ settings.bitcoinreceivingaddress }} </p>
|
||||
|
||||
<img src="/static/{{ settings.bitcoinreceivingqrcode }}"> </img>
|
||||
|
||||
<p>Monthly Funding Progress Bar</p>
|
||||
|
||||
<p>Cost per month {{ settings.monthlyamount }}</p>
|
||||
@ -37,6 +40,8 @@
|
||||
|
||||
<p>Funds from other donations {{ settings.otheramount }} </p>
|
||||
|
||||
<p>Funds from Bitcoin {{ settings.bitcoinamount }} </p>
|
||||
|
||||
<div class="container">
|
||||
<div class="{{ settings.progressbarcssclass }}">
|
||||
<span style="width:{{ settings.progressbarcsswidth }};position:relative;left:{{ settings.progressbarcssleft }}%;
|
||||
|
@ -35,7 +35,12 @@ $theme = array(
|
||||
'type' => 'text',
|
||||
'default' => '$0'),
|
||||
|
||||
array('title' => 'Current Progress',
|
||||
array('title' => 'Current Bitcoin Amount',
|
||||
'name' => 'bitcoinamount',
|
||||
'type' => 'text',
|
||||
'default' => '0 BTC'),
|
||||
|
||||
array('title' => 'Current Progress',
|
||||
'name' => 'currentprogress',
|
||||
'type' => 'text',
|
||||
'default' => '$0'),
|
||||
@ -60,7 +65,17 @@ $theme = array(
|
||||
'name' => 'progressbartextcssleft',
|
||||
'type' => 'text',
|
||||
'default' => '195'),
|
||||
),
|
||||
|
||||
|
||||
array('title' => 'Bitcoin receiving address',
|
||||
'name' => 'bitcoinreceivingaddress',
|
||||
'type' => 'text',
|
||||
'default' => 'nothing'),
|
||||
|
||||
array('title' => 'Bitcoin receiving QR code ',
|
||||
'name' => 'bitcoinreceivingqrcode',
|
||||
'type' => 'text',
|
||||
'default' => 'nothing'),
|
||||
),
|
||||
'build_function' => 'donate_build');
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user