Changes between Version 69 and Version 70 of WikiStart


Ignore:
Timestamp:
02/26/2008 02:31:25 PM (10 years ago)
Author:
Jean-Paul Calderone
Comment:

insert new google checkout form :/

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v69 v70  
    1919Want to help Twisted, but don't have any spare time? If you appreciate Twisted and want to help the community and future development, consider a tax-deductable monetary donation.
    2020
    21     <form action="https://checkout.google.com/cws/v2/Donations/622836985124940/checkout" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm">
    22       <input name="cart" type="hidden" value="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxjaGVja291dC1zaG9wcGluZy1jYXJ0IHhtbG5zPSJodHRwOi8vY2hlY2tvdXQuZ29vZ2xlLmNvbS9zY2hlbWEvMiI+DQogIDxzaG9wcGluZy1jYXJ0Pg0KICAgIDxpdGVtcz4NCiAgICAgIDxpdGVtPg0KICAgICAgICA8bW9kaWZpYWJsZS1wcmljZT4NCiAgICAgICAgICA8aXMtbW9kaWZpYWJsZT50cnVlPC9pcy1tb2RpZmlhYmxlPg0KICAgICAgICAgIDxtaW4tcHJpY2UgY3VycmVuY3k9IlVTRCI+NS4wPC9taW4tcHJpY2U+DQogICAgICAgICAgPG1heC1wcmljZSBjdXJyZW5jeT0iVVNEIj4xMDAwMDAuMDwvbWF4LXByaWNlPg0KICAgICAgICA8L21vZGlmaWFibGUtcHJpY2U+DQogICAgICAgIDxpdGVtLW5hbWU+VHdpc3RlZCBQcm9qZWN0ICh2aWEgU29mdHdhcmUgRnJlZWRvbSBDb25zZXJ2YW5jeSk8L2l0ZW0tbmFtZT4NCiAgICAgICAgPGl0ZW0tZGVzY3JpcHRpb24+QSBkaXJlY3RlZCwgZWFyLW1hcmtlZCBkb25hdGlvbiBmb3IgdGhlIFR3aXN0ZWQgUHJvamVjdCwgdmlhIHRoZSBTb2Z0d2FyZSBGcmVlZG9tIENvbnNlcnZhbmN5LjwvaXRlbS1kZXNjcmlwdGlvbj4NCiAgICAgICAgPHVuaXQtcHJpY2UgY3VycmVuY3k9IlVTRCI+MS4wPC91bml0LXByaWNlPg0KICAgICAgICA8cXVhbnRpdHk+MTwvcXVhbnRpdHk+DQogICAgICA8L2l0ZW0+DQogICAgPC9pdGVtcz4NCiAgPC9zaG9wcGluZy1jYXJ0Pg0KICA8Y2hlY2tvdXQtZmxvdy1zdXBwb3J0Pg0KICAgIDxtZXJjaGFudC1jaGVja291dC1mbG93LXN1cHBvcnQgLz4NCiAgPC9jaGVja291dC1mbG93LXN1cHBvcnQ+DQo8L2NoZWNrb3V0LXNob3BwaW5nLWNhcnQ+DQoNCg=="/>
    23       <input name="signature" type="hidden" value="TjLH3FPnpc1LOnonUf2Zt7wY95A="/>
    24         <table cellpadding="5" cellspacing="0" width="1%">
    25           <tr>
     21<!-- BEGIN GOOGLE CHECKOUT GARBAGE -->
     22<script type="text/javascript">
     23function validateAmount(amount){
     24if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
     25return true;
     26}else{
     27alert('You must enter a valid donation.');
     28amount.focus();
     29return false;
     30}
     31}
     32</script>
     33<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)">
     34    <input name="item_name_1" type="hidden" value="Twisted Project (via Software Freedom Conservancy)"/>
     35    <input name="item_description_1" type="hidden" value="A directed, ear-marked donation for the Twisted Project, via the Software Freedom Conservancy."/>
     36    <input name="item_quantity_1" type="hidden" value="1"/>
     37    <input name="item_currency_1" type="hidden" value="USD"/>
     38    <input name="item_is_modifiable_1" type="hidden" value="true"/>
     39    <input name="item_min_price_1" type="hidden" value="5.0"/>
     40    <input name="item_max_price_1" type="hidden" value="25000.0"/>
     41    <input name="_charset_" type="hidden" value="utf-8"/>
     42    <table cellpadding="5" cellspacing="0" width="1%">
     43        <tr>
    2644            <td align="right" nowrap="nowrap" width="1%">
    27               $
    28               <input name="donationAmount" size="11" style="color:grey;" type="text" value="25"/>
     45            $
     46            <input id="item_price_1" name="item_price_1" size="11" style="color:grey;" type="text" value="Enter Amount"/>
    2947            </td>
    3048            <td align="left" width="1%">
    31               <input alt="Donate" src="https://checkout.google.com/buttons/donateNow.gif?merchant_id=622836985124940&amp;w=115&amp;h=50&amp;style=white&amp;variant=text&amp;loc=en_US" type="image"/>
     49                <input alt="Donate" src="https://checkout.google.com/buttons/donateNow.gif?merchant_id=622836985124940&amp;w=115&amp;h=50&amp;style=white&amp;variant=text&amp;loc=en_US" type="image"/>
    3250            </td>
    33           </tr>
    34       </table>
    35     </form>
    36 
     51        </tr>
     52    </table>
     53</form>
     54<!-- END GOOGLE CHECKOUT GARBAGE -->
    3755
    3856<!--