b8ac55e14d14438f9fb0e927b56fb36d8f013a1e
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

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

Roger Dingledine authored 13 years ago

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

Andrew Lewman authored 13 years ago

3) # Translation-Priority: 3-low
4) 
Sebastian Hahn Remove the ANNOUNCE_RSS hac...

Sebastian Hahn authored 12 years ago

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

Andrew Lewman authored 13 years ago

6) <div id="content" class="clearfix">
Andrew Lewman commit my div hacking for n...

Andrew Lewman authored 13 years ago

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

Andrew Lewman authored 13 years ago

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

Andrew Lewman authored 13 years ago

9)     <a href="<page donate/donate>">Donate</a>
10)   </div>
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 12 years ago

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

Andrew Lewman authored 13 years ago

13)    <p><strong>Your support is critical to our success.</strong> The
Roger Dingledine r25737 was a revert of r256...

Roger Dingledine authored 11 years ago

14)    Tor Project is a US 501(c)(3) non-profit dedicated to research,
15)    development, and education about online anonymity and privacy. Donations
Andrew Lewman fix the donation links.

Andrew Lewman authored 13 years ago

16)    to The Tor Project may be tax deductible to persons who are in the
17)    US; or who pay taxes in countries with reciprocity with the US on
Andrew Lewman clarify direct donations.

Andrew Lewman authored 10 years ago

18)    charitable donations. Our tax ID number is 20-8096820. We are listed on
Andrew Lewman first attempt at ticket 10279.

Andrew Lewman authored 10 years ago

19)   <a href="http://www2.guidestar.org/organizations/20-8096820/tor-project.aspx">GuideStar</a>.</p>
20) 
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 12 years ago

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

Andrew Lewman authored 12 years ago

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

Andrew Lewman authored 12 years ago

23) <script type="text/javascript">
24) function displayVals() {
25)       var t3 = jQuery('#t3').val();
26)       var amount = jQuery('#amount').val();
27) 		var radioVal = jQuery('input[@name="amount"]:checked').val();
28)       if(t3 != 0){
Andrew Lewman clean up and close ticket 2...

Andrew Lewman authored 11 years ago

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

Andrew Lewman authored 12 years ago

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

Sebastian Hahn authored 8 years ago

63) 		<h2>Donate via PayPal</h2>
64) 	<div class="dbox donate">
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 12 years ago

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

Andrew Lewman authored 11 years ago

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

Andrew Lewman authored 12 years ago

74) 		  </p>
75) 	      <div class="drow">
76) 	 		 <div>
Sebastian Hahn ideas for donation page

Sebastian Hahn authored 8 years ago

77) 	       <input style="float: right;" type="image" src="$(IMGROOT)/paypal-donate-button.gif" name="submit" alt="Subscribe to Tor with PayPal - it's fast, free and secure!"> 
78) 			  <ul class="amounts">
79) 		      <li><input type="radio" class="radio" name="amount" value="5.00"><label for="5">5</label></li>
80) 		      <li><input type="radio" class="radio" name="amount" value="10.00"><label for="10">10&nbsp;</label></li>
81) 		      <li><input type="radio" class="radio" name="amount" value="20.00"><label for="20">20&nbsp;</label></li>
82) 		      <li><input type="radio" class="radio" name="amount" value="50.00"><label for="50">50&nbsp;</label></li>
83) 		      <li><input type="radio" class="radio" name="amount" value="100.00" checked="checked"><label for="100">100&nbsp;</label></li><br>
84) 		      <li><input type="radio" class="radio" name="amount" value="250.00"><label for="250">250</label></li>
85) 		      <li><input type="radio" class="radio" name="amount" value="500.00"><label for="500">500</label></li>
86) 	  	      <li><input type="radio" class="radio" name="amount" value="1000.00"><label for="1000">1000</label></li>
87) 		      <li><input type="text" id="amount" class="amount" name="amount"></li>
88)               <li>
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 12 years ago

89) 	        <span>
90) 		      <select name="currency_code" class="cur">
91) 			    <option value="USD" selected="selected">$</option>
92) 			    <option value="EUR">&euro;</option>
93) 			    <option value="GBP">&pound;</option>
94) 			    <option value="YEN">&yen;</option>
95) 			   </select>
96) 			  </span>
Sebastian Hahn ideas for donation page

Sebastian Hahn authored 8 years ago

97)             </li>
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 12 years ago

98) 		    </ul>
99) 		   </div>
100) 		   <div>
Andrew Lewman update the paypal image, fi...

Andrew Lewman authored 11 years ago

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

Andrew Lewman authored 10 years ago

102) <!--			 <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 12 years ago

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

Sebastian Hahn authored 13 years ago

105) 		     <input type="hidden" name="sra" value="1">
106) 		     <input type="hidden" name="src" value="1">
107) 		     <input type="hidden" name="no_shipping" value="1">
108) 		     <input type="hidden" name="no_note" value="1">
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 12 years ago

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

Sebastian Hahn authored 13 years ago

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

Andrew Lewman authored 12 years ago

111) 		     <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 11 years ago

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

Andrew Lewman authored 12 years ago

114) 		  </div>
115) 	 </form>
116) 	</div>
117)   </div>
118) <!-- END PAYPAL -->
119)   <div class="hundred toptwenty">
Sebastian Hahn ideas for donation page

Sebastian Hahn authored 8 years ago

120) 		<h2>Other options</h2>
121)         We have many other donation and sponsorship <a href="<page donate/donate-options>">options</a> available.
122)   </div>
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 12 years ago

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

Andrew Lewman authored 13 years ago

124) </div>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

125)   <div id = "sidecol">
Andrew Lewman roll out new pages for dona...

Andrew Lewman authored 12 years ago

126) #include "side-donate.wmi"
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

127) #include "info.wmi"
128)   </div>
129)   <!-- END SIDECOL -->
130) <!-- END CONTENT -->
Andrew Lewman fix up the divs to make the...

Andrew Lewman authored 13 years ago

131) </div>