[pypy-svn] r78969 - in pypy/extradoc/pypy.org: . source/_layouts

arigo at codespeak.net arigo at codespeak.net
Wed Nov 10 16:41:50 CET 2010


Author: arigo
Date: Wed Nov 10 16:41:49 2010
New Revision: 78969

Modified:
   pypy/extradoc/pypy.org/compat.html
   pypy/extradoc/pypy.org/contact.html
   pypy/extradoc/pypy.org/download.html
   pypy/extradoc/pypy.org/features.html
   pypy/extradoc/pypy.org/index.html
   pypy/extradoc/pypy.org/source/_layouts/page.genshi
Log:
Add the google checkout link to pypy.org.


Modified: pypy/extradoc/pypy.org/compat.html
==============================================================================
--- pypy/extradoc/pypy.org/compat.html	(original)
+++ pypy/extradoc/pypy.org/compat.html	Wed Nov 10 16:41:49 2010
@@ -122,6 +122,40 @@
   </li>
   <li>
     <div class="sidepic">
+<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)" target="_top">
+   <input name="item_name_1" type="hidden" value="PyPy Directed Donation via Software Freedom Conservancy, Inc." />
+   <input name="item_description_1" type="hidden" value="This is a donation to the Software Freedom Conservancy, Inc. The donation will be directed for the PyPy project." />
+   <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&amp;w=115&amp;h=50&amp;style=white&amp;variant=text&amp;loc=en_US" type="image" />
+           </td>
+       </tr>
+   </table>
+</form>
+    </div>
+  </li>
+  <li>
+    <div class="sidepic">
       <a id="main_download" href="download.html">Download PyPy</a>
     </div>
   </li>

Modified: pypy/extradoc/pypy.org/contact.html
==============================================================================
--- pypy/extradoc/pypy.org/contact.html	(original)
+++ pypy/extradoc/pypy.org/contact.html	Wed Nov 10 16:41:49 2010
@@ -68,6 +68,40 @@
   </li>
   <li>
     <div class="sidepic">
+<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)" target="_top">
+   <input name="item_name_1" type="hidden" value="PyPy Directed Donation via Software Freedom Conservancy, Inc." />
+   <input name="item_description_1" type="hidden" value="This is a donation to the Software Freedom Conservancy, Inc. The donation will be directed for the PyPy project." />
+   <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&amp;w=115&amp;h=50&amp;style=white&amp;variant=text&amp;loc=en_US" type="image" />
+           </td>
+       </tr>
+   </table>
+</form>
+    </div>
+  </li>
+  <li>
+    <div class="sidepic">
       <a id="main_download" href="download.html">Download PyPy</a>
     </div>
   </li>

Modified: pypy/extradoc/pypy.org/download.html
==============================================================================
--- pypy/extradoc/pypy.org/download.html	(original)
+++ pypy/extradoc/pypy.org/download.html	Wed Nov 10 16:41:49 2010
@@ -241,6 +241,40 @@
   </li>
   <li>
     <div class="sidepic">
+<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)" target="_top">
+   <input name="item_name_1" type="hidden" value="PyPy Directed Donation via Software Freedom Conservancy, Inc." />
+   <input name="item_description_1" type="hidden" value="This is a donation to the Software Freedom Conservancy, Inc. The donation will be directed for the PyPy project." />
+   <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&amp;w=115&amp;h=50&amp;style=white&amp;variant=text&amp;loc=en_US" type="image" />
+           </td>
+       </tr>
+   </table>
+</form>
+    </div>
+  </li>
+  <li>
+    <div class="sidepic">
       <a id="main_download" href="download.html">Download PyPy</a>
     </div>
   </li>

Modified: pypy/extradoc/pypy.org/features.html
==============================================================================
--- pypy/extradoc/pypy.org/features.html	(original)
+++ pypy/extradoc/pypy.org/features.html	Wed Nov 10 16:41:49 2010
@@ -134,6 +134,40 @@
   </li>
   <li>
     <div class="sidepic">
+<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)" target="_top">
+   <input name="item_name_1" type="hidden" value="PyPy Directed Donation via Software Freedom Conservancy, Inc." />
+   <input name="item_description_1" type="hidden" value="This is a donation to the Software Freedom Conservancy, Inc. The donation will be directed for the PyPy project." />
+   <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&amp;w=115&amp;h=50&amp;style=white&amp;variant=text&amp;loc=en_US" type="image" />
+           </td>
+       </tr>
+   </table>
+</form>
+    </div>
+  </li>
+  <li>
+    <div class="sidepic">
       <a id="main_download" href="download.html">Download PyPy</a>
     </div>
   </li>

Modified: pypy/extradoc/pypy.org/index.html
==============================================================================
--- pypy/extradoc/pypy.org/index.html	(original)
+++ pypy/extradoc/pypy.org/index.html	Wed Nov 10 16:41:49 2010
@@ -81,6 +81,40 @@
   </li>
   <li>
     <div class="sidepic">
+<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)" target="_top">
+   <input name="item_name_1" type="hidden" value="PyPy Directed Donation via Software Freedom Conservancy, Inc." />
+   <input name="item_description_1" type="hidden" value="This is a donation to the Software Freedom Conservancy, Inc. The donation will be directed for the PyPy project." />
+   <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&amp;w=115&amp;h=50&amp;style=white&amp;variant=text&amp;loc=en_US" type="image" />
+           </td>
+       </tr>
+   </table>
+</form>
+    </div>
+  </li>
+  <li>
+    <div class="sidepic">
       <a id="main_download" href="download.html">Download PyPy</a>
     </div>
   </li>

Modified: pypy/extradoc/pypy.org/source/_layouts/page.genshi
==============================================================================
--- pypy/extradoc/pypy.org/source/_layouts/page.genshi	(original)
+++ pypy/extradoc/pypy.org/source/_layouts/page.genshi	Wed Nov 10 16:41:49 2010
@@ -22,6 +22,40 @@
   </li>
   <li>
     <div class="sidepic">
+<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)" target="_top">
+   <input name="item_name_1" type="hidden" value="PyPy Directed Donation via Software Freedom Conservancy, Inc."/>
+   <input name="item_description_1" type="hidden" value="This is a donation to the Software Freedom Conservancy, Inc. The donation will be directed for the PyPy project."/>
+   <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%">&#x24; <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&amp;w=115&amp;h=50&amp;style=white&amp;variant=text&amp;loc=en_US" type="image"/>
+           </td>
+       </tr>
+   </table>
+</form>
+    </div>
+  </li>
+  <li>
+    <div class="sidepic">
       <a id="main_download" href="download.html">Download PyPy</a>
     </div>
   </li>



More information about the Pypy-commit mailing list