Add multi currency on Paypal donate forms
Mfr

Mfr commited on 2008-07-31 19:27:51
Zeige 1 geänderte Dateien mit 19 Einfügungen und 9 Löschungen.

... ...
@@ -65,10 +65,15 @@ donations let us worry less about fund-raising and focus more on
65 65
 development. You can become a member by clicking on this button (you
66 66
 will need a <a
67 67
 href="http://paypal.com/">PayPal</a> account):<br />
68
-<input type="radio" name="a3" value="50.00" />$50
69
-<input type="radio" name="a3" value="20.00" checked="checked" />$20
70
-<input type="radio" name="a3" value="10.00" />$10
71
-<input type="radio" name="a3" value="5.00" />$5
68
+<input type="radio" name="a3" value="50.00" />50
69
+<input type="radio" name="a3" value="20.00" checked="checked" />20
70
+<input type="radio" name="a3" value="10.00" />10
71
+<input type="radio" name="a3" value="5.00" />5
72
+<SELECT name="currency_code">
73
+<OPTION value="USD" selected>$
74
+<OPTION value="EUR">�
75
+<OPTION value="GBP">�
76
+</SELECT>
72 77
 <input type="hidden" name="p3" value="1" />
73 78
 <input type="hidden" name="t3" value="M" />
74 79
 <input type="hidden" name="sra" value="1" />
... ...
@@ -90,11 +95,16 @@ href="http://paypal.com/">PayPal</a> account):<br />
90 95
 <form id="donate" action="https://www.paypal.com/cgi-bin/webscr" method="post">
91 96
 <p>You can also make a <b>one-time donation</b> (via PayPal, but
92 97
 doesn't require any account):<br />
93
-<input type="radio" name="amount" value="100.00" />$100
94
-<input type="radio" name="amount" value="50.00" />$50
95
-<input type="radio" name="amount" value="20.00" checked="checked" />$20
96
-<input type="radio" name="amount" value="10.00" />$10
97
-<input type="radio" name="amount" value="" />other
98
+<input type="radio" name="amount" value="100.00" />100
99
+<input type="radio" name="amount" value="50.00" />50
100
+<input type="radio" name="amount" value="20.00" checked="checked" />20
101
+<input type="radio" name="amount" value="10.00" />10
102
+<input type="radio" name="amount" value="">other amount
103
+<SELECT name="currency_code">
104
+<OPTION value="USD" selected>$
105
+<OPTION value="EUR">�
106
+<OPTION value="GBP">�
107
+</SELECT>
98 108
 <input type="hidden" name="no_shipping" value="1" />
99 109
 <input type="image"
100 110
  src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif"
101 111