Compare commits

...

3 Commits

Author SHA1 Message Date
Michele Calgaro 421d5fc2d1
Improve position of the donation page link
4 weeks ago
Slávek Banko 94eb4cb60f
Improve donations in BitCoins:
4 weeks ago
Slávek Banko cca3e547a4
Temporarily disable the donation in the fiat currencies.
4 weeks ago

@ -3,7 +3,7 @@
// All Rights Reserved // All Rights Reserved
include("tde-head-and-foot.php"); include("tde-head-and-foot.php");
doHeader("Support Trinity", "Development", "Donations"); doHeader("Support Trinity", "Donate", "_");
?> ?>
<h2>The Trinity project needs your support!</h2> <h2>The Trinity project needs your support!</h2>
@ -40,28 +40,47 @@ 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 " <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>"; echo " </fieldset>";
} }
else { else
echo " <fieldset>"; {
echo " <legend>Via PayPal</legend>"; if ( 0 /* enable fiat currencies via PayPal */ )
echo " <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\" target=\"_top\">"; {
echo " <input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\">"; echo " <p>\n";
echo " <input type=\"hidden\" name=\"hosted_button_id\" value=\"HVGH827GE28G2\">"; echo " <fieldset>\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!\">"; echo " <legend>Via PayPal</legend>\n";
echo " <img alt=\"\" border=\"0\" src=\"https://www.paypalobjects.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">"; echo " <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\" target=\"_top\">\n";
echo " </form>"; echo " <input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\">\n";
echo " </fieldset>"; echo " <input type=\"hidden\" name=\"hosted_button_id\" value=\"HVGH827GE28G2\">\n";
echo " </form>"; 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 " <p>"; echo " <img alt=\"\" border=\"0\" src=\"https://www.paypalobjects.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">\n";
echo " <fieldset>"; echo " </form>\n";
echo " <legend>Via BitCoin</legend>"; echo " </fieldset>\n";
echo " <a href=\"bitcoin:1H1RMzujpGC9wZPSjZ6hWqz4BxQ5dzhHti?amount=0.05&amp;label=Trinity%20Desktop%20Environment%20Donation\">Donate 50mBTC to TDE!</a><BR>"; echo " </p>\n";
echo " <B>Pay to:</B> 1H1RMzujpGC9wZPSjZ6hWqz4BxQ5dzhHti<BR>"; }
echo " <B>Suggestion:</B> 0.05 BTC<BR>"; else
echo " <B>Message:</B> Trinity Desktop Environment Donation"; {
echo " </fieldset>"; echo " <p>\n";
echo " <p>"; echo " <fieldset>\n";
echo " Every little bit helps and is much appreciated!"; echo " <legend>Via PayPal</legend>\n";
echo " </p>"; 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 " Donate <a href='donate-btc0002' target='donate_btc'>0.2&nbsp;mBTC</a> &ndash; \n";
echo " <a href='donate-btc0005' target='donate_btc'>0.5&nbsp;mBTC</a> &ndash; \n";
echo " <a href='donate-btc001' target='donate_btc'>1&nbsp;mBTC</a> &ndash; \n";
echo " <a href='donate-btc' target='donate_btc'>other&nbsp;mBTC</a> to TDE!<br />\n";
echo " <iframe src='donate-btc0005' name='donate_btc' width='400' height='600' style='border:none;' title='Donate via BitCoin'></iframe><br />\n";
echo " </fieldset>\n";
echo " </p>\n";
}
echo " <p>Every little bit helps and is much appreciated!</p>\n";
} }
?> ?>

@ -41,7 +41,7 @@
</DIV> </DIV>
</DIV> </DIV>
<?php <?php
if ($navItem != "Donations") { if ($navItem != "Donations" && $navCategory != "Donate") {
echo "<DIV ID=\"titlenotif\">\n"; echo "<DIV ID=\"titlenotif\">\n";
echo " <P CLASS=\"notifhead\"><A HREF=\"" . $maindir . "donate.php\">Help Keep TDE Alive - Donate Now!</A>\n"; echo " <P CLASS=\"notifhead\"><A HREF=\"" . $maindir . "donate.php\">Help Keep TDE Alive - Donate Now!</A>\n";
echo "</DIV>\n"; echo "</DIV>\n";
@ -68,7 +68,8 @@
"Features" => $GLOBALS['maindir'] . "features.php", "Features" => $GLOBALS['maindir'] . "features.php",
"Screenshots" => $GLOBALS['maindir'] . "screenshots.php", "Screenshots" => $GLOBALS['maindir'] . "screenshots.php",
"Get Involved" => $GLOBALS['maindir'] . "helpwanted.php", "Get Involved" => $GLOBALS['maindir'] . "helpwanted.php",
"Donations" => $GLOBALS['maindir'] . "donate.php", ),
"Donate" => array("_" => $GLOBALS['maindir'] . "donate.php",
), ),
"Get Trinity" => array("_" => $GLOBALS['maindir'] . "releases.php", "Get Trinity" => array("_" => $GLOBALS['maindir'] . "releases.php",
"Packages" => $GLOBALS['maindir'] . "releases.php", "Packages" => $GLOBALS['maindir'] . "releases.php",

Loading…
Cancel
Save