Andrew Lewman commited on 2011-07-09 00:15:00
Zeige 14 geänderte Dateien mit 410 Einfügungen und 12 Löschungen.
... | ... |
@@ -0,0 +1,196 @@ |
1 |
+#thanks_top { |
|
2 |
+ background: url(../images/thankyou_img.jpg) top right no-repeat; |
|
3 |
+ height: 270px; |
|
4 |
+ padding: 20px 475px 0px 20px; |
|
5 |
+ text-align: center; |
|
6 |
+ margin-top: 10px; |
|
7 |
+} |
|
8 |
+ |
|
9 |
+#thanks_top .thankyou_h1 { |
|
10 |
+ margin: 0px auto 20px auto; |
|
11 |
+} |
|
12 |
+ |
|
13 |
+#thanks_top p { |
|
14 |
+ font-family: "Liberation Serif", "Times New Roman", Times, serif; |
|
15 |
+ font-size: 22px; |
|
16 |
+ color: #000000; |
|
17 |
+ font-weight: bold; |
|
18 |
+ line-height: 24px; |
|
19 |
+ margin-top: -15px; |
|
20 |
+} |
|
21 |
+ |
|
22 |
+#thanks_btm { |
|
23 |
+ position: relative; |
|
24 |
+ background: #e2dbe3; |
|
25 |
+ height: 215px; |
|
26 |
+ border: 5px solid #8a6f91; |
|
27 |
+ -webkit-border-radius: 25px; |
|
28 |
+ -moz-border-radius: 25px; |
|
29 |
+ border-radius: 25px; |
|
30 |
+} |
|
31 |
+ |
|
32 |
+#thanks_btm_inner { |
|
33 |
+ position: absolute; |
|
34 |
+ top: 5px; |
|
35 |
+ bottom: 5px; |
|
36 |
+ right: 5px; |
|
37 |
+ left: 5px; |
|
38 |
+ border: 3px solid #8a6f91; |
|
39 |
+ -webkit-border-radius: 17px; |
|
40 |
+ -moz-border-radius: 17px; |
|
41 |
+ border-radius: 17px; |
|
42 |
+ background: #e2dbe3; |
|
43 |
+ background-color: #e2dbe3; |
|
44 |
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#e2dbe3), to(#FFFFFF)); /* Saf4+, Chrome */ |
|
45 |
+ background-image: -webkit-linear-gradient(top, #e2dbe3, #FFFFFF); /* Chrome 10+, Saf5.1+ */ |
|
46 |
+ background-image: -moz-linear-gradient(top, #e2dbe3, #FFFFFF); /* FF3.6 */ |
|
47 |
+ background-image: -ms-linear-gradient(top, #e2dbe3, #FFFFFF); /* IE10 */ |
|
48 |
+ background-image: -o-linear-gradient(top, #e2dbe3, #FFFFFF); /* Opera 11.10+ */ |
|
49 |
+ background-image: linear-gradient(top, #e2dbe3, #FFFFFF); |
|
50 |
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#e2dbe3', EndColorStr='#FFFFFF'); /* IE6–IE9 */ |
|
51 |
+} |
|
52 |
+ |
|
53 |
+#thanks_btm .thankyou_h2 { |
|
54 |
+ margin: 5px auto; |
|
55 |
+ float: none; |
|
56 |
+ border: none; |
|
57 |
+} |
|
58 |
+ |
|
59 |
+#thanks_btm p { |
|
60 |
+ font-family: "Liberation Serif", "Times New Roman", Times, serif; |
|
61 |
+ font-size: 24px; |
|
62 |
+ color: #000000; |
|
63 |
+ font-weight: normal; |
|
64 |
+ font-style: italic; |
|
65 |
+} |
|
66 |
+ |
|
67 |
+#thanks_row { |
|
68 |
+ display: table-row; |
|
69 |
+} |
|
70 |
+ |
|
71 |
+td#thanks_l , |
|
72 |
+td#thanks_r { |
|
73 |
+ width: 466px; |
|
74 |
+ display: table-cell; |
|
75 |
+ text-align: center; |
|
76 |
+ padding: 28px 0px 0px 0px; |
|
77 |
+} |
|
78 |
+ |
|
79 |
+#thanks_c { |
|
80 |
+ display: table-cell; |
|
81 |
+ width: 2px; |
|
82 |
+ padding: 30px 0px 30px 0px; |
|
83 |
+} |
|
84 |
+ |
|
85 |
+#v_rule { |
|
86 |
+ position: absolute; |
|
87 |
+ display: table-row; |
|
88 |
+ background: #8b7192; |
|
89 |
+ width: 2px; |
|
90 |
+ top: 30px; |
|
91 |
+ bottom: 30px; |
|
92 |
+} |
|
93 |
+ |
|
94 |
+#thanks form { |
|
95 |
+ position: relative; |
|
96 |
+ width: 300px; |
|
97 |
+ margin: 25px auto 0px auto; |
|
98 |
+ padding-top: 0px; |
|
99 |
+} |
|
100 |
+ |
|
101 |
+#thanks form p { position: relative; margin: 10px 0;} |
|
102 |
+#thanks form p label { position: absolute; font-family: "Liberation Sans", Arial, Helvetica, sans-serif; z-index: 10;} |
|
103 |
+#thanks form p label.active { top: 7px; left: 10px; font-size: 16px; color: #888888;} |
|
104 |
+#thanks form p label.inactive { top: -18px; left: 5px; font-size: 14px; color: #222222;} |
|
105 |
+ |
|
106 |
+#thanks input { |
|
107 |
+ display: inline-block; |
|
108 |
+ position: absolute; |
|
109 |
+ top: 0px; |
|
110 |
+ bottom: 0px; |
|
111 |
+ font-family: "Liberation Sans", Arial, Helvetica, sans-serif; |
|
112 |
+ font-size: 16px; |
|
113 |
+ border: 1px solid #3e3748; |
|
114 |
+ margin: 0px 0px; |
|
115 |
+} |
|
116 |
+ |
|
117 |
+#email { |
|
118 |
+ top: 0px; |
|
119 |
+ bottom: 0px; |
|
120 |
+ left: 0px; |
|
121 |
+ right: 50px; |
|
122 |
+ font-style: italic; |
|
123 |
+ color: #23300E; |
|
124 |
+ border-right: 0px; |
|
125 |
+ background-color: #dedbe3; |
|
126 |
+ -webkit-border-top-left-radius: 10px; |
|
127 |
+ -webkit-border-bottom-left-radius: 10px; |
|
128 |
+ -moz-border-radius-topleft: 10px; |
|
129 |
+ -moz-border-radius-bottomleft: 10px; |
|
130 |
+ border-top-left-radius: 10px; |
|
131 |
+ border-bottom-left-radius: 10px; |
|
132 |
+ padding: 6px 10px; |
|
133 |
+ width: 250px; |
|
134 |
+ height: 19px; |
|
135 |
+ } |
|
136 |
+ |
|
137 |
+#submit { |
|
138 |
+ left: 250px; |
|
139 |
+ right: 0px; |
|
140 |
+ font-weight:bold; |
|
141 |
+ line-height: 33px; |
|
142 |
+ color: #FFFFFF; |
|
143 |
+ background-color: #dedbe3; |
|
144 |
+ -webkit-border-top-right-radius: 10px; |
|
145 |
+ -webkit-border-bottom-right-radius: 10px; |
|
146 |
+ -moz-border-radius-topright: 10px; |
|
147 |
+ -moz-border-radius-bottomright: 10px; |
|
148 |
+ border-top-right-radius: 10px; |
|
149 |
+ border-bottom-right-radius: 10px; |
|
150 |
+ padding: 0px 10px; |
|
151 |
+ background: #9362b1; |
|
152 |
+ background-color: #9362b1; |
|
153 |
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#9362b1), to(#453748)); /* Saf4+, Chrome */ |
|
154 |
+ background-image: -webkit-linear-gradient(top, #9362b1, #453748); /* Chrome 10+, Saf5.1+ */ |
|
155 |
+ background-image: -moz-linear-gradient(top, #9362b1, #453748); /* FF3.6 */ |
|
156 |
+ background-image: -ms-linear-gradient(top, #9362b1, #453748); /* IE10 */ |
|
157 |
+ background-image: -o-linear-gradient(top, #9362b1, #453748); /* Opera 11.10+ */ |
|
158 |
+ background-image: linear-gradient(top, #9362b1, #453748); |
|
159 |
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#9362b1', EndColorStr='#453748'); /* IE6–IE9 */ |
|
160 |
+ text-shadow: #a793ac 0px 2px 2px, #222222 0px -2px 2px; |
|
161 |
+ width: 50px; |
|
162 |
+ height: 33px; |
|
163 |
+} |
|
164 |
+ |
|
165 |
+#submit:hover { |
|
166 |
+ background: #e75f02; |
|
167 |
+ background-color: #e75f02; |
|
168 |
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcc00), to(#e75f02)); /* Saf4+, Chrome */ |
|
169 |
+ background-image: -webkit-linear-gradient(top, #ffcc00, #e75f02); /* Chrome 10+, Saf5.1+ */ |
|
170 |
+ background-image: -moz-linear-gradient(top, #ffcc00, #e75f02); /* FF3.6 */ |
|
171 |
+ background-image: -ms-linear-gradient(top, #ffcc00, #e75f02); /* IE10 */ |
|
172 |
+ background-image: -o-linear-gradient(top, #ffcc00, #e75f02); /* Opera 11.10+ */ |
|
173 |
+ background-image: linear-gradient(top, #ffcc00, #e75f02); |
|
174 |
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffcc00', EndColorStr='#e75f02'); /* IE6–IE9 */ |
|
175 |
+ text-shadow: #ffcc00 0px 2px 2px, #555555 0px -2px 2px; |
|
176 |
+} |
|
177 |
+ |
|
178 |
+#thanks_btm a { |
|
179 |
+ font-family: "Liberation Sans", Arial, Helvetica, sans-serif; |
|
180 |
+ font-size: 20px; |
|
181 |
+ color: #9362b1; |
|
182 |
+ font-weight: bold; |
|
183 |
+ text-decoration: none; |
|
184 |
+ text-shadow: #BBBBBB 2px 2px 3px; |
|
185 |
+ line-height: 80px; |
|
186 |
+ padding: 3px 10px; |
|
187 |
+ -webkit-border-radius: 5px; |
|
188 |
+ -moz-border-radius: 5px; |
|
189 |
+ border-radius: 5px; |
|
190 |
+} |
|
191 |
+ |
|
192 |
+#thanks_btm a:hover { |
|
193 |
+ background-color: #9362b1; |
|
194 |
+ color: #FFFFFF; |
|
195 |
+ text-shadow: #444444 2px 2px 3px; |
|
196 |
+} |
... | ... |
@@ -25,11 +25,11 @@ |
25 | 25 |
<li><a href="#google">Google Checkout</a></li> |
26 | 26 |
<li><a href="#givv">Givv.org</a></li> |
27 | 27 |
<li class="last"><a href="#cash">checks, money orders, bank transfers, stock grants or |
28 |
-other more sophisticated transactions.</a></li> |
|
28 |
+other more sophisticated transactions</a></li> |
|
29 | 29 |
</ul> |
30 | 30 |
<p>If you want to make an anonymous donation, please do so in an anonymous way. Contact us at donations@torproject.org for more details.</p> |
31 | 31 |
<!-- BEGIN PAYPAL --> |
32 |
-<script type="text/javascript" src="../jquery-1.6.1.min.js"></script> |
|
32 |
+<script type="text/javascript" src="$(DOCROOT)/jquery.min.js"></script> |
|
33 | 33 |
<script type="text/javascript"> |
34 | 34 |
function displayVals() { |
35 | 35 |
var t3 = jQuery('#t3').val(); |
... | ... |
@@ -117,7 +117,7 @@ jQuery(function(){ |
117 | 117 |
<input type="hidden" id="cmd" name="cmd" value="_donations"> |
118 | 118 |
<input type="hidden" name="business" value="donations@torproject.org"> |
119 | 119 |
<input type="hidden" id="item_name" name="item_name" value="Donation to the Tor Project"> |
120 |
- <input type="hidden" name="return" value="https://www.torproject.org/donate"> |
|
120 |
+ <input type="hidden" name="return" value="https://www.torproject.org/donate/thankyou"> |
|
121 | 121 |
<input type="hidden" name="cancel_return" value="https://www.torproject.org/donate"> |
122 | 122 |
</div> |
123 | 123 |
</form> |
... | ... |
@@ -142,7 +142,7 @@ jQuery(function(){ |
142 | 142 |
<input type="hidden" name="isDonationWidget" value="1"> |
143 | 143 |
<input type="hidden" name="description" value="Supporting Online Anonymity & Privacy"> |
144 | 144 |
<input type="hidden" name="amazonPaymentsAccountId" value="XGSROLNTXRNC3N1P4TXKMNK14LN1D6SZUD8SN1"> |
145 |
- <input type="hidden" name="returnUrl" value="https://www.torproject.org/donate/donate"> |
|
145 |
+ <input type="hidden" name="returnUrl" value="https://www.torproject.org/donate/donate/thankyou"> |
|
146 | 146 |
<input type="hidden" name="processImmediate" value="1"> |
147 | 147 |
<input type="hidden" name="cobrandingStyle" value="logo"> |
148 | 148 |
<input type="hidden" name="abandonUrl" value="https://www.torproject.org/donate/donate"> |
... | ... |
@@ -0,0 +1,151 @@ |
1 |
+#! /usr/bin/wml |
|
2 |
+<: use strict; :> |
|
3 |
+<: use warnings; :> |
|
4 |
+#use "perl-globals.wmi" |
|
5 |
+#use "links.wmi" |
|
6 |
+#use "versions.wmi" |
|
7 |
+#use "navigation.wmi" |
|
8 |
+ |
|
9 |
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
10 |
+<html> |
|
11 |
+<head> |
|
12 |
+ <title>$(TITLE)</title> |
|
13 |
+ <link rel="shortcut icon" type="image/x-icon" href="$(IMGROOT)/favicon.ico"> |
|
14 |
+ <ifneq "$(REDIRECT)" "" "<meta http-equiv="refresh" content="0;url=$(DOCROOT)/$(REDIRECT)">"> |
|
15 |
+ <ifneq "$(REDIRECT_GLOBAL)" "" "<meta http-equiv="refresh" content="0;url=$(REDIRECT_GLOBAL)">"> |
|
16 |
+ <ifeq "$(ANNOUNCE_RSS)" "yes" "<link rel="alternate" title="Tor Project OR-announce" href="http://rss.gmane.org/gmane.network.onion-routing.announce" |
|
17 |
+type="application/rss+xml">"> |
|
18 |
+ |
|
19 |
+ # begin WML to generate css/js paths |
|
20 |
+ <ifneq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/$(STYLESHEET)">"> |
|
21 |
+ <ifeq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/master.css">"> |
|
22 |
+ |
|
23 |
+ <link href="$(DOCROOT)/css/thankyou.css" rel="stylesheet" type="text/css"> |
|
24 |
+ <!--[if lte IE 8]> |
|
25 |
+ <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie8-and-down.css"> |
|
26 |
+ <![endif]--> |
|
27 |
+ <!--[if lte IE 7]> |
|
28 |
+ <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie7-and-down.css"> |
|
29 |
+ <![endif]--> |
|
30 |
+ <!--[if IE 6]> |
|
31 |
+ <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie6.css"> |
|
32 |
+ <![endif]--> |
|
33 |
+# <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script> |
|
34 |
+ # end WML to generate css/js paths |
|
35 |
+ |
|
36 |
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
|
37 |
+ <meta name="author" content="The Tor Project, Inc."> |
|
38 |
+ <meta name="keywords" content="anonymity online, tor, tor project, censorship circumvention, traffic analysis, anonymous communications research"> |
|
39 |
+<script type="text/javascript" src="$(DOCROOT)/jquery.min.js" charset="utf-8"></script> |
|
40 |
+<script type="text/javascript" src="$(DOCROOT)/jquery.infieldlabel.min.js" charset="utf-8"></script> |
|
41 |
+<script type="text/javascript" charset="utf-8"> |
|
42 |
+/* email placeholder function */ |
|
43 |
+ $(function(){ $("label").replaceWith('<label class="active" for="email">Enter your email address</label>'); $("label").inFieldLabels(); }); |
|
44 |
+</script> |
|
45 |
+</head> |
|
46 |
+<body> |
|
47 |
+<div id="wrap"> |
|
48 |
+ <div id="header"> |
|
49 |
+ <h1 id="logo"><a href="<page index>">Tor</a></h1> |
|
50 |
+ # navigation menu generation |
|
51 |
+ <div id="nav"> |
|
52 |
+ <ul> |
|
53 |
+ <:{ |
|
54 |
+ # create a hash and maintain order of keys |
|
55 |
+ my %navigation; |
|
56 |
+ my @keys; |
|
57 |
+ while (@navigation) { |
|
58 |
+ my $key = shift @navigation; |
|
59 |
+ my $val = shift @navigation; |
|
60 |
+ push @keys, $key; |
|
61 |
+ $navigation{$key} = $val; |
|
62 |
+ } |
|
63 |
+ |
|
64 |
+ my $page = $WML_SRC_BASENAME; |
|
65 |
+ my $lang = "$(LANG)"; |
|
66 |
+ |
|
67 |
+ for my $key (@keys) { |
|
68 |
+ my ($dir, $base) = $key =~ m,^(?:(.*)/)?(.*?)$,; |
|
69 |
+ |
|
70 |
+ # in directory of active link, set class active |
|
71 |
+ my $class; |
|
72 |
+ if ((defined $dir) and ($WML_SRC_DIRNAME =~/$dir/) or ($WML_SRC_BASENAME eq $base)) { |
|
73 |
+ $class = 'class="active"'; |
|
74 |
+ } else { |
|
75 |
+ $class = ''; |
|
76 |
+ } |
|
77 |
+ |
|
78 |
+ $dir = '.' unless defined $dir; |
|
79 |
+ |
|
80 |
+ # translated version |
|
81 |
+ if (-e "$(DOCROOT)/$dir/$lang/$base.wml") { |
|
82 |
+ printf '<li><a '.$class.' href="%s">%s</a></li>'."\n", |
|
83 |
+ stripDotSlashs("$(DOCROOT)/$dir/$base.html.$(LANG)"),$navigation{$key}; |
|
84 |
+ } |
|
85 |
+ # english version |
|
86 |
+ elsif (-e "$(DOCROOT)/$dir/en/$base.wml") { |
|
87 |
+ printf '<li><a '.$class.' href="%s">%s</a></li>'."\n", |
|
88 |
+ stripDotSlashs("$(DOCROOT)/$dir/$base.html"), $navigation{$key}; |
|
89 |
+ } |
|
90 |
+ # full url |
|
91 |
+ elsif ($key =~/^http/) { |
|
92 |
+ printf '<li><a href="%s">%s</a></li>'."\n", $key, $navigation{$key}; |
|
93 |
+ } else { |
|
94 |
+ warn "$WML_SRC_FILENAME has a [page $key] (parses to |
|
95 |
+docdir: $(DOCROOT)/; dir: $dir; base: $base -> $(DOCROOT)/$dir/$lang/$base.wml), but that doesn't exist."; |
|
96 |
+ } |
|
97 |
+ } |
|
98 |
+ }:> |
|
99 |
+ </ul> |
|
100 |
+ </div> |
|
101 |
+ <!-- END NAV --> |
|
102 |
+ # end navigation generation |
|
103 |
+ <div id="calltoaction"> |
|
104 |
+ <ul> |
|
105 |
+ <:{ |
|
106 |
+ my %calltoaction; |
|
107 |
+ my @keys; |
|
108 |
+ while (@calltoaction) { |
|
109 |
+ my $key = shift @calltoaction; |
|
110 |
+ my $val = shift @calltoaction; |
|
111 |
+ push @keys, $key; |
|
112 |
+ $calltoaction{$key} = $val; |
|
113 |
+ } |
|
114 |
+ |
|
115 |
+ my $page = $WML_SRC_BASENAME; |
|
116 |
+ my $lang = "$(LANG)"; |
|
117 |
+ for my $key (@keys) { |
|
118 |
+ my ($dir, $base) = $key =~ m,^(?:(.*)/)?(.*?)$,; |
|
119 |
+ |
|
120 |
+ # in directory, set active |
|
121 |
+ my $class; |
|
122 |
+ if ((defined $dir) and ($WML_SRC_DIRNAME =~/$dir/) or ($WML_SRC_BASENAME eq $base)) { |
|
123 |
+ #if ($WML_SRC_BASENAME eq $base) { |
|
124 |
+ $class = 'class="active"'; |
|
125 |
+ } else { |
|
126 |
+ $class = ''; |
|
127 |
+ } |
|
128 |
+ |
|
129 |
+ $dir = '.' unless defined $dir; |
|
130 |
+ # try to use a translated version |
|
131 |
+ if (-e "$(DOCROOT)/$dir/$lang/$base.wml") { |
|
132 |
+ printf '<li class="donate"><a '.$class.' href="%s">%s</a></li>'."\n", |
|
133 |
+ stripDotSlashs("$(DOCROOT)/$dir/$base.html.$(LANG)"),$calltoaction{$key}; |
|
134 |
+ } |
|
135 |
+ # default to english version |
|
136 |
+ elsif (-e "$(DOCROOT)/$dir/en/$base.wml") { |
|
137 |
+ printf '<li class="donate"><a '.$class.' href="%s">%s</a></li>'."\n", |
|
138 |
+ stripDotSlashs("$(DOCROOT)/$dir/$base.html"), $calltoaction{$key}; |
|
139 |
+ } else { |
|
140 |
+ warn "$WML_SRC_FILENAME has a [page $key] (parses to docdir: $(DOCROOT)/; dir: $dir; base: $base -> $(DOCROOT)/$dir/$lang/$base.wml), but that doesn't exist."; |
|
141 |
+ } |
|
142 |
+ } |
|
143 |
+ }:> |
|
144 |
+ </ul> |
|
145 |
+ </div> |
|
146 |
+ <!-- END CALLTOACTION --> |
|
147 |
+ </div> |
|
148 |
+ <!-- END HEADER --> |
|
149 |
+ |
|
150 |
+#<ifneq "$(REDIRECT)" "" "Redirecting to <a href="$(DOCROOT)/$(REDIRECT)">$(DOCROOT)/$(REDIRECT)</a>."> |
|
151 |
+#<ifneq "$(REDIRECT_GLOBAL)" "" "Redirecting to <a href="$(REDIRECT_GLOBAL)">$(REDIRECT_GLOBAL)</a>."> |
... | ... |
@@ -0,0 +1,41 @@ |
1 |
+## translation metadata |
|
2 |
+# Revision: $Revision: 24807 $ |
|
3 |
+# Translation-Priority: 3-low |
|
4 |
+ |
|
5 |
+#include "thankyou-head.wmi" TITLE="Tor Project: Donate to Tor" CHARSET="UTF-8" ANNOUNCE_RSS="yes" |
|
6 |
+<!-- BEGIN CONTENT --> |
|
7 |
+ <div id="thanks" class="clearfix hundred"> |
|
8 |
+ <div id="thanks_top"> |
|
9 |
+ <img class="thankyou_h1" src="../images/thankyou_h1.jpg" height="122" width="419" alt="Thank You!"> |
|
10 |
+ <p>Your donation helps support online privacy<br>& censorship circumvention around the globe!</p> |
|
11 |
+ </div> |
|
12 |
+ <div id="thanks_btm"> |
|
13 |
+ <div id="thanks_btm_inner"> |
|
14 |
+ <table> |
|
15 |
+ <tr id="thanks_row"> |
|
16 |
+ <td id="thanks_l"> |
|
17 |
+ <img class="thankyou_h2" src="../images/thankyou_h2.png" height="46" width="195" alt="Keep In Touch!"> |
|
18 |
+ <p>Sign up for our <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-news">newsletter</a></p> |
|
19 |
+ <form Method="POST" ACTION="https://lists.torproject.org/cgi-bin/mailman/subscribe/tor-news"> |
|
20 |
+ <p> |
|
21 |
+ <label class="inactive" for="email">Enter your email address:</label><br> |
|
22 |
+ <input type="text" name="email" id="email" size="25" value=""> |
|
23 |
+ <input id="submit" type="submit" name="email-button" value="GO"> |
|
24 |
+ </p> |
|
25 |
+ </form> |
|
26 |
+ </td> |
|
27 |
+ <td id="thanks_c"> |
|
28 |
+ <div id="v_rule"></div> |
|
29 |
+ </td> |
|
30 |
+ <td id="thanks_r"> |
|
31 |
+ <img class="thankyou_h2" src="../images/thankyou_h3.png" height="46" width="142" alt="Got Skills?"> |
|
32 |
+ <p>Put them to good use</p> |
|
33 |
+ <a href="<page getinvolved/volunteer>">Volunteer for The Tor Project »</a> |
|
34 |
+ </td> |
|
35 |
+ </tr> |
|
36 |
+ </table> |
|
37 |
+ </div> |
|
38 |
+ </div> |
|
39 |
+ </div> |
|
40 |
+<!-- END CONTENT --> |
|
41 |
+#include <foot.wmi> |
... | ... |
@@ -28,7 +28,7 @@ href="<page download/download>#warning">full list of warnings</a>. |
28 | 28 |
</td> |
29 | 29 |
|
30 | 30 |
<!-- DONATION WIDGET BEGIN --> |
31 |
-<script type="text/javascript" src="../jquery-1.6.1.min.js"></script> |
|
31 |
+<script type="text/javascript" src="$(DOCROOT)/jquery.min.js"></script> |
|
32 | 32 |
<script type="text/javascript"> |
33 | 33 |
function displayVals() { |
34 | 34 |
var t3 = jQuery("#t3").val(); |
... | ... |
@@ -88,8 +88,8 @@ jQuery(function(){ |
88 | 88 |
<input type="hidden" id="cmd" name="cmd" value="_donations"> |
89 | 89 |
<input type="hidden" name="business" value="donations@torproject.org"> |
90 | 90 |
<input type="hidden" id="item_name" name="item_name" value="Donation to the Tor Project"> |
91 |
- <input type="hidden" name="return" value="https://www.torproject.org/donate"> |
|
92 |
- <input type="hidden" name="cancel_return" value="https://www.torproject.org/donate"> |
|
91 |
+ <input type="hidden" name="return" value="https://www.torproject.org/donate/thankyou"> |
|
92 |
+ <input type="hidden" name="cancel_return" value="https://www.torproject.org/download-easy"> |
|
93 | 93 |
</p> |
94 | 94 |
<h6 id="ppinfo" style="height:0px;"></h6> |
95 | 95 |
<p> |
... | ... |
@@ -22,7 +22,7 @@ |
22 | 22 |
<tr> |
23 | 23 |
<td> |
24 | 24 |
<!-- DONATION WIDGET BEGIN --> |
25 |
-<script type="text/javascript" src="../jquery-1.6.1.min.js"></script> |
|
25 |
+<script type="text/javascript" src="$(DOCROOT)/jquery.min.js"></script> |
|
26 | 26 |
<script type="text/javascript"> |
27 | 27 |
function displayVals() { |
28 | 28 |
var t3 = jQuery("#t3").val(); |
... | ... |
@@ -85,8 +85,8 @@ jQuery(function(){ |
85 | 85 |
<input type="hidden" id="cmd" name="cmd" value="_donations"> |
86 | 86 |
<input type="hidden" name="business" value="donations@torproject.org"> |
87 | 87 |
<input type="hidden" id="item_name" name="item_name" value="Donation to the Tor Project"> |
88 |
- <input type="hidden" name="return" value="https://www.torproject.org/donate"> |
|
89 |
- <input type="hidden" name="cancel_return" value="https://www.torproject.org/donate"> |
|
88 |
+ <input type="hidden" name="return" value="https://www.torproject.org/donate/thankyou"> |
|
89 |
+ <input type="hidden" name="cancel_return" value="https://www.torproject.org/download"> |
|
90 | 90 |
</p> |
91 | 91 |
<h6 id="ppinfo" style="height:0px;"></h6> |
92 | 92 |
<p> |
... | ... |
@@ -1 +0,0 @@ |
1 |
-google-site-verification: google4ae33683e36b66e1.html |
... | ... |
@@ -0,0 +1,12 @@ |
1 |
+/* |
|
2 |
+ * In-Field Label jQuery Plugin |
|
3 |
+ * http://fuelyourcoding.com/scripts/infield.html |
|
4 |
+ * |
|
5 |
+ * Copyright (c) 2009 Doug Neiner |
|
6 |
+ * Dual licensed under the MIT and GPL licenses. |
|
7 |
+ * Uses the same license as jQuery, see: |
|
8 |
+ * http://docs.jquery.com/License |
|
9 |
+ * |
|
10 |
+ * @version 0.1 |
|
11 |
+ */ |
|
12 |
+(function($){$.InFieldLabels=function(b,c,d){var f=this;f.$label=$(b);f.label=b;f.$field=$(c);f.field=c;f.$label.data("InFieldLabels",f);f.showing=true;f.init=function(){f.options=$.extend({},$.InFieldLabels.defaultOptions,d);if(f.$field.val()!=""){f.$label.hide();f.showing=false};f.$field.focus(function(){f.fadeOnFocus()}).blur(function(){f.checkForEmpty(true)}).bind('keydown.infieldlabel',function(e){f.hideOnChange(e)}).change(function(e){f.checkForEmpty()}).bind('onPropertyChange',function(){f.checkForEmpty()})};f.fadeOnFocus=function(){if(f.showing){f.setOpacity(f.options.fadeOpacity)}};f.setOpacity=function(a){f.$label.stop().animate({opacity:a},f.options.fadeDuration);f.showing=(a>0.0)};f.checkForEmpty=function(a){if(f.$field.val()==""){f.prepForShow();f.setOpacity(a?1.0:f.options.fadeOpacity)}else{f.setOpacity(0.0)}};f.prepForShow=function(e){if(!f.showing){f.$label.css({opacity:0.0}).show();f.$field.bind('keydown.infieldlabel',function(e){f.hideOnChange(e)})}};f.hideOnChange=function(e){if((e.keyCode==16)||(e.keyCode==9))return;if(f.showing){f.$label.hide();f.showing=false};f.$field.unbind('keydown.infieldlabel')};f.init()};$.InFieldLabels.defaultOptions={fadeOpacity:0.0,fadeDuration:300};$.fn.inFieldLabels=function(c){return this.each(function(){var a=$(this).attr('for');if(!a)return;var b=$("input#"+a+"[type='text'],"+"input#"+a+"[type='password'],"+"textarea#"+a);if(b.length==0)return;(new $.InFieldLabels(this,b[0],c))})}})(jQuery); |
|
0 | 13 |
\ No newline at end of file |