Add bitcoin fields (Receiving address and QR code file location) to Donate theme / extension

This commit is contained in:
Benjamin Southall 2017-04-24 23:54:56 +09:00
parent e69657065e
commit 4c7e4881e4
2 changed files with 24 additions and 4 deletions

View file

@ -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');
?>