summaryrefslogtreecommitdiffstats
path: root/donate.php
diff options
context:
space:
mode:
Diffstat (limited to 'donate.php')
-rw-r--r--donate.php62
1 files changed, 40 insertions, 22 deletions
diff --git a/donate.php b/donate.php
index e2e4436..cc0c419 100644
--- a/donate.php
+++ b/donate.php
@@ -40,28 +40,46 @@ doHeader("Support Trinity", "Development", "Donations");
echo " <font color=\"red\"><b>We're sorry you changed your mind.</b></font><br>&nbsp;<br>However, if you love TDE there are other ways to get involved and help the project!<br>Check out our <a href=\"/helpwanted.php\">Get Involved</a> page for more ideas.";
echo " </fieldset>";
}
- else {
- echo " <fieldset>";
- echo " <legend>Via PayPal</legend>";
- echo " <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\" target=\"_top\">";
- echo " <input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\">";
- echo " <input type=\"hidden\" name=\"hosted_button_id\" value=\"HVGH827GE28G2\">";
- echo " <input type=\"image\" src=\"https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif\" border=\"0\" name=\"submit\" alt=\"PayPal - The safer, easier way to pay online!\">";
- echo " <img alt=\"\" border=\"0\" src=\"https://www.paypalobjects.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">";
- echo " </form>";
- echo " </fieldset>";
- echo " </form>";
- echo " <p>";
- echo " <fieldset>";
- echo " <legend>Via BitCoin</legend>";
- echo " <a href=\"bitcoin:1H1RMzujpGC9wZPSjZ6hWqz4BxQ5dzhHti?amount=0.05&amp;label=Trinity%20Desktop%20Environment%20Donation\">Donate 50mBTC to TDE!</a><BR>";
- echo " <B>Pay to:</B> 1H1RMzujpGC9wZPSjZ6hWqz4BxQ5dzhHti<BR>";
- echo " <B>Suggestion:</B> 0.05 BTC<BR>";
- echo " <B>Message:</B> Trinity Desktop Environment Donation";
- echo " </fieldset>";
- echo " <p>";
- echo " Every little bit helps and is much appreciated!";
- echo " </p>";
+ else
+ {
+ if ( 0 /* enable fiat currencies via PayPal */ )
+ {
+ echo " <p>\n";
+ echo " <fieldset>\n";
+ echo " <legend>Via PayPal</legend>\n";
+ echo " <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\" target=\"_top\">\n";
+ echo " <input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\">\n";
+ echo " <input type=\"hidden\" name=\"hosted_button_id\" value=\"HVGH827GE28G2\">\n";
+ echo " <input type=\"image\" src=\"https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif\" border=\"0\" name=\"submit\" alt=\"PayPal - The safer, easier way to pay online!\">\n";
+ echo " <img alt=\"\" border=\"0\" src=\"https://www.paypalobjects.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">\n";
+ echo " </form>\n";
+ echo " </fieldset>\n";
+ echo " </p>\n";
+ }
+ else
+ {
+ echo " <p>\n";
+ echo " <fieldset>\n";
+ echo " <legend>Via PayPal</legend>\n";
+ echo " Donations through PayPal has been temporarily disabled until";
+ echo " we prepare a way to make donation transactions transparent";
+ echo " for everyone. Please donate in Bitcoin for the time being.\n";
+ echo " </fieldset>\n";
+ echo " </p>\n";
+ }
+ if ( 1 /* enable BitCoin */ )
+ {
+ echo " <p>\n";
+ echo " <fieldset>\n";
+ echo " <legend>Via BitCoin</legend>\n";
+ echo " <a href=\"bitcoin:1H1RMzujpGC9wZPSjZ6hWqz4BxQ5dzhHti?amount=0.05&amp;label=Trinity%20Desktop%20Environment%20Donation\">Donate 50mBTC to TDE!</a><br />\n";
+ echo " <b>Pay to:</b> 1H1RMzujpGC9wZPSjZ6hWqz4BxQ5dzhHti<br />\n";
+ echo " <b>Suggestion:</b> 0.05 BTC<br />\n";
+ echo " <b>Message:</b> Trinity Desktop Environment Donation\n";
+ echo " </fieldset>\n";
+ echo " </p>\n";
+ }
+ echo " <p>Every little bit helps and is much appreciated!</p>\n";
}
?>