convert the a3 field to amount to make paypal remember the selected amount.
Andrew Lewman

Andrew Lewman commited on 2011-05-20 03:18:50
Zeige 1 geänderte Dateien mit 14 Einfügungen und 14 Löschungen.

... ...
@@ -65,14 +65,14 @@ other more sophisticated transactions.</a></li>
65 65
 		     <input class="donate-btn" type="submit" name="donate" value="Donate">
66 66
 		  </tr>
67 67
 		  <tr>
68
-		    <td><input type="radio" name="a3" value="5.00">5/mo</td>
69
-		    <td><input type="radio" name="a3" value="10.00">10/mo</td>
70
-		    <td><input type="radio" name="a3" value="20.00" checked="checked">20/mo</td>
68
+		    <td><input type="radio" name="amount" value="5.00">5/mo</td>
69
+		    <td><input type="radio" name="amount" value="10.00">10/mo</td>
70
+		    <td><input type="radio" name="amount" value="20.00" checked="checked">20/mo</td>
71 71
 		  </tr>
72 72
 		  <tr>
73
-		    <td><input type="radio" name="a3" value="50.00">50/mo</td>
74
-		    <td><input type="radio" name="a3" value="100.00">100/mo</td>
75
-		    <td><input type="radio" name="a3" value="250.00">250/mo</td>
73
+		    <td><input type="radio" name="amount" value="50.00">50/mo</td>
74
+		    <td><input type="radio" name="amount" value="100.00">100/mo</td>
75
+		    <td><input type="radio" name="amount" value="250.00">250/mo</td>
76 76
 		  </tr>
77 77
 		  </div>
78 78
 		</form>
... ...
@@ -108,16 +108,16 @@ other more sophisticated transactions.</a></li>
108 108
 		    <input type="hidden" name="cancel_return" value="https://www.torproject.org/donate/donate.html.en"/>
109 109
 	      </tr>
110 110
 	      <tr>
111
-		    <td><input type="radio" name="a3" value="10.00"> 10</td>
112
-		    <td><input type="radio" name="a3" value="20.00" checked="checked"> 20</td>
113
-		    <td><input type="radio" name="a3" value="50.00"> 50</td>
114
-		    <td><input type="radio" name="a3" value="100.00"> 100</td>
111
+		    <td><input type="radio" name="amount" value="10.00"> 10</td>
112
+		    <td><input type="radio" name="amount" value="20.00" checked="checked"> 20</td>
113
+		    <td><input type="radio" name="amount" value="50.00"> 50</td>
114
+		    <td><input type="radio" name="amount" value="100.00"> 100</td>
115 115
 	      </tr>
116 116
 	      <tr>
117
-		    <td><input type="radio" name="a3" value="250.00"> 250</td>
118
-		    <td><input type="radio" name="a3" value="500.00"> 500</td>
119
-		    <td><input type="radio" name="a3" value="1000.00"> 1,000</td>
120
-		    <td><input type="radio" name="a3" value="5000.00"> 5,000</td>
117
+		    <td><input type="radio" name="amount" value="250.00"> 250</td>
118
+		    <td><input type="radio" name="amount" value="500.00"> 500</td>
119
+		    <td><input type="radio" name="amount" value="1000.00"> 1,000</td>
120
+		    <td><input type="radio" name="amount" value="5000.00"> 5,000</td>
121 121
 	      </tr>
122 122
 	    </table>
123 123
         </form>
124 124