svn commit: r17467 - trunk/www/index.html
Linus Tolke <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: linus
Date: 2009-11-15 10:36:23-0800
New Revision: 17467
Modified:
trunk/www/index.html
Log:
Changed the Paypal mail address to a form.
Added a Google Checkout button for Donations.
Modified: trunk/www/index.html
Url: http://argouml.tigris.org/source/browse/argouml/trunk/www/index.html?view=diff&pathrev=17467&r1=17466&r2=17467
==============================================================================
--- trunk/www/index.html (original)
+++ trunk/www/index.html 2009-11-15 10:36:23-0800
@@ -340,10 +340,46 @@
New York, NY 10023
</pre>
<p>
-or use PayPal and the address
-<pre>
- conservancy-argouml@softwarefreedom.org
-</pre>
+Using PayPal
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
+<input type="hidden" name="cmd" value="_s-xclick">
+<input type="hidden" name="hosted_button_id" value="1595199">
+<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="">
+<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
+</form>
+or Google Checkout
+
+<script type="text/javascript">
+function validateAmount(amount){
+ if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
+ return true;
+ }else{
+ alert('You must enter a valid donation.');
+ amount.focus();
+ return false;
+ }
+}
+</script>
+<form action="https://checkout.google.com/cws/v2/Donations/622836985124940/checkoutForm" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" onSubmit="return validateAmount(this.item_price_1)">
+ <input name="item_name_1" type="hidden" value="ArgoUML donation - directed donation via Software Freedom Conservancy, Inc."/>
+ <input name="item_description_1" type="hidden" value="A directed, earmarked donation for the ArgoUML project, via its non-profit 501(c)(3) home, the Software Freedom Conservancy, Inc."/>
+ <input name="item_quantity_1" type="hidden" value="1"/>
+ <input name="item_currency_1" type="hidden" value="USD"/>
+ <input name="item_is_modifiable_1" type="hidden" value="true"/>
+ <input name="item_min_price_1" type="hidden" value="5.0"/>
+ <input name="item_max_price_1" type="hidden" value="25000.0"/>
+ <input name="_charset_" type="hidden" value="utf-8"/>
+ <table cellpadding="5" cellspacing="0" width="1%">
+ <tr>
+ <td align="right" nowrap="nowrap" width="1%">$ <input id="item_price_1" name="item_price_1" onfocus="this.style.color='black'; this.value='';" size="11" style="color:grey;" type="text" value="Enter Amount"/>
+ </td>
+ <td align="left" width="1%">
+ <input alt="Donate" src="https://checkout.google.com/buttons/donateNow.gif?merchant_id=622836985124940&w=115&h=50&style=white&variant=text&loc=en_US" type="image"/>
+ </td>
+ </tr>
+ </table>
+</form>
+
</p>
</div>
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2418185
To unsubscribe from this discussion, e-mail: [[email protected]].