fix the donation links so they work for now.
Andrew Lewman

Andrew Lewman commited on 2010-10-09 23:08:27
Zeige 2 geänderte Dateien mit 11 Einfügungen und 18 Löschungen.

... ...
@@ -453,7 +453,7 @@ input.textfield {
453 453
 }
454 454
 
455 455
 .donate-btn {
456
-	background: url(../images/button-donate.jpg) left top no-repeat;
456
+    background: left top no-repeat; 
457 457
 	height: 26px;
458 458
 	width: 92px;
459 459
 	text-indent: -9999px;
... ...
@@ -40,7 +40,7 @@
40 40
 		     <input type="hidden" name="src" value="1" />
41 41
 		     <input type="hidden" name="no_shipping" value="1" />
42 42
 		     <input type="hidden" name="no_note" value="1" />
43
-		     <input type="image" src="images/btn_donateCC_LG.gif" name="submit" alt="Subscribe to Tor with PayPal - it's fast, free and secure!"/>
43
+		     <input type="image" src="$(IMGROOT)/btn_donateCC_LG.gif" name="submit" alt="Subscribe to Tor with PayPal - it's fast, free and secure!"/>
44 44
 		     <input type="hidden" name="cmd" value="_xclick-subscriptions" />
45 45
 		     <input type="hidden" name="business" value="donations@torproject.org" />
46 46
 		     <input type="hidden" name="item_name" value="Tor Project Membership" />
... ...
@@ -51,7 +51,7 @@
51 51
 		  <tr>
52 52
 		    <td><input type="radio" name="a3" value="5.00" />5/month</td>
53 53
 		    <td><input type="radio" name="a3" value="10.00" />10/month</td>
54
-		    <td><input type="radio" name="a3" value="20.00" selected="selected" />20/month</td>
54
+		    <td><input type="radio" name="a3" value="20.00" checked="checked" />20/month</td>
55 55
 		  </tr>
56 56
 		  <tr>
57 57
 		    <td><input type="radio" name="a3" value="50.00" />50/month</td>
... ...
@@ -84,12 +84,12 @@
84 84
 	      </tr>
85 85
 	      <tr>
86 86
 		<input type="hidden" name="no_shipping" value="1" />
87
-		<input type="image" src="images/btn_donateCC_LG.gif" name="submit" alt="Make a single donation with PayPal - it's fast, free and secure!"/>
87
+		<input type="image" src="$(IMGROOT)/btn_donateCC_LG.gif" name="submit" alt="Make a single donation with PayPal - it's fast, free and secure!"/>
88 88
 		<input type="hidden" name="cmd" value="_xclick" />
89 89
 		<input type="hidden" name="business" value="donations@torproject.org" />
90 90
 		<input type="hidden" name="item_name" value="Tor" />
91
-		<input type="hidden" name="return" value="https://www.torproject.org/donate#funds"/>
92
-		<input type="hidden" name="cancel_return" value="https://www.torproject.org/donate"/>
91
+		<input type="hidden" name="return" value="https://www.torproject.org/about/donate.html.en"/>
92
+		<input type="hidden" name="cancel_return" value="https://www.torproject.org/about/donate.html.en"/>
93 93
 	      </tr>
94 94
 	      <tr>
95 95
 		<td><input type="radio" value="10.00" /> 10</td>
... ...
@@ -127,21 +127,14 @@
127 127
 	    <input type="hidden" name="isDonationWidget" value="1" />
128 128
 	    <input type="hidden" name="description" value="Supporting Online Anonymity &amp; Privacy" />
129 129
 	    <input type="hidden" name="amazonPaymentsAccountId" value="XGSROLNTXRNC3N1P4TXKMNK14LN1D6SZUD8SN1" />
130
-	    <input type="hidden" name="returnUrl" value="https://www.torproject.org/donate" />
130
+	    <input type="hidden" name="returnUrl" value="https://www.torproject.org/donate/donate.html.en" />
131 131
 	    <input type="hidden" name="processImmediate" value="1" />
132 132
 	    <input type="hidden" name="cobrandingStyle" value="logo" />
133
-	    <input type="hidden" name="abandonUrl" value="https://www.torproject.org/donate" />
134
-        <td><input type="radio" value="10" /> $10</td>
135
-        <td><input type="radio" value="20" /> $20</td>
136
-        <td><input type="radio" value="50" /> $50</td>
137
-        <td><input type="radio" value="100" /> $100</td>
138
-      </tr>
139
-      <tr>
140
-        <td><input type="radio" value="250" /> $250</td>
141
-        <td><input type="radio" value="500" /> $500</td>
142
-        <td><input type="radio" value="1000" /> $1,000</td>
143
-        <td><input type="radio" value="5000" /> $5,000</td>
133
+	    <input type="hidden" name="abandonUrl" value="https://www.torproject.org/donate/donate.html.en" />
144 134
       </tr>
135
+	  <td>&nbsp;</td>
136
+	  <td>$<input type="text" name="amount" size="8" value="10" /></td>
137
+	  <td>&nbsp;</td>
145 138
       <tr>
146 139
 	  <td colspan="3"><input type="image" src="http://g-ecx.images-amazon.com/images/G/01/asp/golden_small_donate_withmsg_whitebg.gif" border="0" /></td>
147 140
       </tr>
148 141