5848769356c6213bfc2efd53533f5e6a3724f495
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

1) ## translation metadata
Roger Dingledine looks like we never set the...

Roger Dingledine authored 14 years ago

2) # Revision: $Revision$
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

3) # Translation-Priority: 3-low
4) 
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

5) #include "donatehead.wmi" TITLE="Tor Project: Donate to Tor" CHARSET="UTF-8"
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

6) <div id="content" class="clearfix">
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

7) <!--  <div id="breadcrumbs">
Andrew Lewman change all of the breadcrum...

Andrew Lewman authored 14 years ago

8)     <a href="<page index>">Home &raquo; </a>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

9)     <a href="<page donate/donate>">Donate</a>
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

10)   </div> -->
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

11) <div id="maincol">
12)   <h1>Make A Donation</h1>
Andrew Lewman fix the donation links.

Andrew Lewman authored 14 years ago

13)    <p><strong>Your support is critical to our success.</strong> The
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

14)    Tor Project is a US non-profit organization dedicated to research,
15)    development, and education about online anonymity and privacy.
16)   </p>
Andrew Lewman first attempt at ticket 10279.

Andrew Lewman authored 10 years ago

17) 
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

18) <!-- BEGIN PAYPAL -->
Andrew Lewman patches to download page to...

Andrew Lewman authored 13 years ago

19) <script type="text/javascript" src="$(DOCROOT)/js/jquery.min.js"></script>
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

20) <script type="text/javascript">
21) function displayVals() {
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

22) 		var radioVal = jQuery('input[@name="amount"]:checked').val();
23)       if (radioVal == 'other') {
24)         jQuery('#amount').show();
25)       } else {
26)         jQuery('#amount').val("");
27)         jQuery('#amount').hide();
28)       }
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

29)       var t3 = jQuery('#t3').val();
30)       var amount = jQuery('#amount').val();
31)       if(t3 != 0){
Andrew Lewman clean up and close ticket 2...

Andrew Lewman authored 12 years ago

32)        if( !amount ) {
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

33) 		    jQuery('#a3').val(radioVal);
34) 		 }else{
35) 		    jQuery('#a3').val(amount);
36) 		 }
37) 	    jQuery('#p3').val(1);
38) 		 jQuery('#cmd').val('_xclick-subscriptions');
39) 		 jQuery('#item_name').val('Tor Project Membership');
40) 		 jQuery('#ppinfo').replaceWith('<small id="ppinfo">Requires a PayPal Account</small>');
41) 	  }else{
42)   	  	jQuery('#a3').val(0);
43) 	  	jQuery('#p3').val(0);
44) 		jQuery('#cmd').val('_donations');
45)    	jQuery('#item_name').val('Donation to the Tor Project');
46) 		jQuery('#ppinfo').replaceWith('<small id="ppinfo">Does Not Require a PayPal Account</small>');
47) 	  }
48) 	  if( !t3 ) {
49)       jQuery('#cmd').val('_donations');
50)    	jQuery('#item_name').val('Donation to the Tor Project');
51) 		jQuery('#ppinfo').replaceWith('<small id="ppinfo">Does Not Require a PayPal Account</small>');
52)      }
53) }
54) 
55) jQuery(function(){
56)  	jQuery("input[@name='amount']:checked").change(displayVals);
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

57)  	jQuery("input[name='amount']").click(displayVals);
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

58)  	jQuery("#amount").change(displayVals);
59)  	jQuery("#t3").change(displayVals);
60)  	displayVals();
61) 
62) });
63) </script>
64) 
65)   <div class="hundred toptwenty">
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

66) 	<div class="dbox donate" style="text-align: center;">
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

67) 	   <form id="donate" action="https://www.paypal.com/cgi-bin/webscr" method="post">
68) 		  <p class="type">
69) 			<select id="t3" name="t3">
70) 			 <option value="0">One-time Donation</option>
71) 			 <option value="M">Monthly Subscription</option>
Andrew Lewman clean up and close ticket 2...

Andrew Lewman authored 12 years ago

72) 			</select>
73) 			<small id="ppinfo">Does Not Require a PayPal
74) Account</small>
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

75) 		  </p>
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

76) 	      <div class="drow" style="text-align: center;">
77) 	 		 <div style="text-align: center;">
Sebastian Hahn ideas for donation page

Sebastian Hahn authored 9 years ago

78) 			  <ul class="amounts">
79)               <li>
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

80) 		      <select name="currency_code" class="cur">
81) 			    <option value="USD" selected="selected">$</option>
82) 			    <option value="EUR">&euro;</option>
83) 			    <option value="GBP">&pound;</option>
84) 			   </select>
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

85)              </li>
86) 		      <li><input type="radio" class="radio" name="amount" value="5.00"><label for="5">5&nbsp;</label></li>
87) 		      <li><input type="radio" class="radio" name="amount" value="23.00"><label for="23">23&nbsp;</label></li>
88) 		      <li><input type="radio" class="radio" name="amount" value="100.00" checked="checked"><label for="100">100&nbsp;</label></li>
89) 		      <li><input type="radio" class="radio" name="amount" value="256.00"><label for="256">256</label></li>
90) 		      <li><input type="radio" class="radio" name="amount" value="500.00"><label for="500">500</label></li>
91) 		      <li><input id="other" type="radio" class="radio" name="amount" value="other"><label for="other">other</label></li>
92) 		      <li><input style="display: none;" type="text" id="amount" class="amount" name="amount"></li>
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

93) 		    </ul>
94) 		   </div>
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

95) 		   <div style="text-align: center;">
Andrew Lewman update the paypal image, fi...

Andrew Lewman authored 12 years ago

96) 			 <input type="hidden" id="a3" name="a3" value="0">
Andrew Lewman fix the donate button issue.

Andrew Lewman authored 10 years ago

97) <!--			 <input class="donate-btn" type="submit" name="donate" value="Donate" alt="Subscribe to Tor with PayPal - it's fast, free and secure!"> -->
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

98) 		   </div>
99) 		     <input type="hidden" id="p3" name="p3" value="1">
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

100) 		     <input type="hidden" name="sra" value="1">
101) 		     <input type="hidden" name="src" value="1">
102) 		     <input type="hidden" name="no_shipping" value="1">
103) 		     <input type="hidden" name="no_note" value="1">
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

104) 		     <input type="hidden" id="cmd" name="cmd" value="_donations">
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

105) 		     <input type="hidden" name="business" value="donations@torproject.org">
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

106) 		     <input type="hidden" id="item_name" name="item_name" value="Donation to the Tor Project">
Andrew Lewman update the paypal image, fi...

Andrew Lewman authored 12 years ago

107) 		     <input type="hidden" name="return" value="https://www.torproject.org/donate/thankyou">
108) 		     <input type="hidden" name="cancel_return" value="https://www.torproject.org/getinvolved/volunteer">
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

109) 		  </div>
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

110)           <div style="text-align: center;">
Sebastian Hahn Make it more clear how to d...

Sebastian Hahn authored 9 years ago

111) 	       <input type="image" src="$(IMGROOT)/paypal_logo.jpg" height="55" name="submit" alt="Subscribe to Tor with PayPal - it's fast, free and secure!"> 
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

112)           </div>
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

113) 	 </form>
114) 	</div>
115)   </div>
116) <!-- END PAYPAL -->
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

117)   <div class="hundred toptwenty" style="text-align: center;">
118)         <a href="<page donate/donate-options>">Other ways to donate</a>
Sebastian Hahn ideas for donation page

Sebastian Hahn authored 9 years ago

119)   </div>
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 13 years ago

120) <!-- END MAINCOL -->
Andrew Lewman closer, yet still wrong.

Andrew Lewman authored 14 years ago

121) </div>
Sebastian Hahn New donate page draft

Sebastian Hahn authored 9 years ago

122) <!--  <div id = "sidecol"> -->
123) # include "side-donate.wmi"
124) # include "info.wmi"
125) <!--  </div> -->
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

126)   <!-- END SIDECOL -->
127) <!-- END CONTENT -->
Andrew Lewman fix up the divs to make the...

Andrew Lewman authored 14 years ago

128) </div>