web: Add simple select box to select recurring donations.
[gnupg-doc.git] / web / donate / index.org
1 #+TITLE: GnuPG - Donate
2 #+STARTUP: showall
3 #+SETUPFILE: "../share/setup.inc"
4 #
5 # Note: Do not use relative links because this page is also used as a
6 #       template from cgi-bin/.  Using https://www.gnupg.org/... is
7 #       fine as it is stripped before publishing.
8
9 #+BEGIN_HTML
10 <!--custom-page-->  <!-- this disables all standard processing. -->
11 <link rel="stylesheet" href="/share/site.css" type="text/css" />
12 </head>
13 <body>
14
15
16   <!--ERRORPANEL-->
17
18   <form action="/cgi-bin/procdonate.cgi" method="post" class="inputpanel">
19    <input type="hidden" name="mode" value="main">
20    <p class="ii">Keep this field clear:
21                  <input type="text" size="40" name="url"></p>
22    <table border="0" cellpadding="0" cellspacing="4">
23     <tr>
24       <td></td>
25       <td>How much do you want to donate?<br/>
26           <span class="smallnote">(choosing “other” allows
27           to donate in other currencies)</span></td>
28     </tr>
29     <tr>
30       <td align="right">Amount:</td>
31       <td>
32           <label><input type="radio" name="amount" value="500"/>500 EUR</label>
33           <label><input type="radio" name="amount" value="200"/>200 EUR</label>
34           <label><input type="radio" name="amount" value="100"/>100 EUR</label>
35           <label><input type="radio" name="amount" value="50"/>50 EUR</label>
36           <label><input type="radio" name="amount" value="20"/>20 EUR</label>
37           <label><input type="radio" name="amount" value="5"/>5 EUR</label>
38       </td>
39     </tr>
40     <tr>
41       <td></td>
42       <td>
43           <input type="radio" name="amount"
44                               value="other"/><!--CHECKOTHER-->other:
45           <input type="text"  size="6" name="amountother"
46                               value=""/><!--AMOUNT-->
47           <select name="currency" size="1">
48             <option value="EUR" selected="selected"><!--SEL_EUR-->Euro</option>
49             <option value="USD" ><!--SEL_USD-->US Dollar</option>
50             <option value="GBP" ><!--SEL_GBP-->British Pound</option>
51             <option value="JPY" ><!--SEL_JPY-->Yen</option>
52           </select>
53           <!--ERR_AMOUNT-->
54       </td>
55     </tr>
56     <tr>
57       <td align="right">Recurring:</td>
58       <td>
59           <select name="recurring" size="1">
60             <option value="0"
61             selected="selected"><!--RECUR_NONE-->Just once</option>
62             <option value="12" ><!--RECUR_MONTH-->Monthly</option>
63             <option value="4" ><!--RECUR_QUARTER-->Quarterly</option>
64             <option value="1" ><!--RECUR_YEAR-->Yearly</option>
65           </select>
66       </td>
67     </tr>
68    <tr><td>&nbsp;</td></tr>
69     <tr>
70       <td align="right">Pay&nbsp;using:</td>
71       <td>
72         <label><input type="radio" name="paytype"
73                       value="cc" /><!--CHECK_CC-->Credit Card</label>
74         <!--ERR_PAYTYPE-->
75       </td>
76    </tr>
77    <tr>
78      <td></td>
79      <td>
80        <label><input type="radio" name="paytype"
81                      value="pp" /><!--CHECK_PP-->PayPal</label>
82      </td>
83    </tr>
84    <tr>
85      <td></td>
86      <td>
87        <label><input type="radio" name="paytype"
88                      value="se" /><!--CHECK_SE-->SEPA (European bank transfer)</label>
89      </td>
90    </tr>
91    <tr><td>&nbsp;</td></tr>
92    <tr>
93       <td></td>
94       <td>
95           If you want to be listed on the
96           <a href="/donate/kudos.html">list of donors</a>,
97           please enter your name as it shall appear there.
98       </td>
99     </tr>
100     <tr>
101       <td align="right"><label for="f_name">Name:</label></td>
102       <td>
103           <input id="f_name" type="text"
104                  size="40" style="width:200px" name="name"
105                  value=""/><!--NAME--> (optional)
106           <!--ERR_NAME-->
107       </td>
108     </tr>
109     <tr>
110       <td></td>
111       <td>
112           In case of payment problems we may want to contact you, thus please
113           enter your e-mail address.
114       </td>
115     </tr>
116     <tr>
117       <td align="right"><label for="f_mail">E-mail:</label></td>
118       <td>
119           <input id="f_mail" type="text" size="40" style="width:200px"
120                  name="mail"
121                  value=""/><!--MAIL--> (optional)
122            <!--ERR_MAIL-->
123       </td>
124     </tr>
125     <tr>
126       <td></td>
127       <td>
128           If you want to leave a message for us, please enter it here:
129       </td>
130     </tr>
131     <tr>
132       <td></td>
133       <td>
134           <textarea cols="40" rows="4" style="width:500px" name="message"
135                     ></textarea><!--MESSAGE-->
136       </td>
137     </tr>
138     <tr>
139       <td></td>
140       <td>
141         <div class="buttonbox">
142           <input type="submit" class="donate-button-low"
143                  value="Proceed to checkout" />
144          </div>
145       </td>
146     </tr>
147    </table>
148   </form>
149
150
151 <p>Recent donors</p>
152
153 <div id="tagcloudlist"><ul>
154 <!--BEGIN-SOME-DONATIONS-->
155 <!--END-SOME-DONATIONS-->
156 <li><a href="/donate/kudos.html">(all)</a></li>
157 </ul><p class="doclear"> </p></div>
158 <p>Donations received in
159 <!--INSERT-THIS-YEAR-->
160 :&nbsp;
161 <!--INSERT-YEAR-EURO-->
162 </p>
163
164
165 </body>
166 </html>
167 #+END_HTML
168
169 # eof #