From e7f5e1ce1549ede9b8893489a96c3b1651090d8a Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Mon, 24 Apr 2017 23:54:56 +0900 Subject: Add bitcoin fields (Receiving address and QR code file location) to Donate theme / extension --- templates/themes/donate/info.php | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'templates/themes/donate/info.php') diff --git a/templates/themes/donate/info.php b/templates/themes/donate/info.php index 751f8a23..ecb53154 100644 --- a/templates/themes/donate/info.php +++ b/templates/themes/donate/info.php @@ -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'); + ?> -- cgit v1.3