[GRASS-SVN] r46348 - grass-web/trunk

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 22 04:15:21 EDT 2011


Author: neteler
Date: 2011-05-22 01:15:21 -0700 (Sun, 22 May 2011)
New Revision: 46348

Modified:
   grass-web/trunk/donation.inc
   grass-web/trunk/donation.php
Log:
upload right version

Modified: grass-web/trunk/donation.inc
===================================================================
--- grass-web/trunk/donation.inc	2011-05-22 07:34:30 UTC (rev 46347)
+++ grass-web/trunk/donation.inc	2011-05-22 08:15:21 UTC (rev 46348)
@@ -4,19 +4,23 @@
 <!-- Heavily based on http://donate.openstreetmap.org/ -->
 <!-- Believed to be GNU Free Documentation License -->
 
-<form method="post" action="process/paypal-submit.php" name="paypalcontribution" onsubmit="return validateForm(this)">
-<p><input type="hidden" name="gateway" value="paypal" /><input type="hidden" name="language" value="en" /></p>
-Contribute with your credit card through PayPal.
+<h3>Please donate to the GRASS GIS project!</h3>
+
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post"  name="paypalcontribution" >
+<center>
+<input type="hidden" name="cmd" value="_donations">
+<!-- input type="hidden" name="hosted_button_id" value="3519431"> -->
+<input type="hidden" name="business" value="paypal at gfoss.it">
+<input type="hidden" name="item_name" value="GRASS donation">  
+<input type="hidden" name="lc" value="us">
+
 <p>
-Amount:
+<b>Amount:</b>
 <p>
-	<input type="radio" name="amount" id="input_amount_1" onclick="document.paypalcontribution. amountGiven.value = '15'" />&#160;<label for="input_amount_1">€15</label> &#160;&#160;&#160; 
-<br>	<input type="radio" name="amount" id="input_amount_2" onclick="document.paypalcontribution. amountGiven.value = '30'" /><label for="input_amount_2">&#160;€30</label> &#160;&#160;&#160; 
-<br>	<input type="radio" name="amount" id="input_amount_3" onclick="document.paypalcontribution. amountGiven.value = '50'" /><label for="input_amount_3">&#160;€50</label> &#160;&#160;&#160; 
-<br>	<input type="radio" name="amount" id="input_amount_other" value="Other" />&#160;<label for="input_amount_other">Other:</label> <input type="text" name="amountGiven" size="5" onfocus="this.form.input_amount_other.checked=true;" />&#160; <!-- currency menu -->
-<p>
+
+<!-- currency menu -->
 <select name="currency_code" id="input_currency_code" size="1">
-<option value="EUR" selected="selected">EUR – £</option>
+<option value="EUR" selected="selected">EUR – €</option>
 <option value="XXX">-------</option>
 <option value="GBP">GBP – £</option>
 <option value="EUR">EUR – €</option>
@@ -42,28 +46,22 @@
 <option value="SEK">SEK – kr</option>
 <option value="USD">USD – $</option>
 </select>
+ <input type="radio" name="amountg" id="input_amount_1" onclick="document.paypalcontribution. amount.value = '15'" />&#160;<label for="input_amount_1">15</label> &#160;&#160;&#160; 
+ <input type="radio" name="amountg" id="input_amount_2" onclick="document.paypalcontribution. amount.value = '30'" /><label for="input_amount_2">&#160;30</label> &#160;&#160;&#160; 
+ <input type="radio" name="amountg" id="input_amount_3" onclick="document.paypalcontribution. amount.value = '50'" /><label for="input_amount_3">&#160;50</label> &#160;&#160;&#160; 
+ <input type="radio" name="amountg" id="input_amount_other" value="Other" />&#160;<label for="input_amount_other">Other:</label> <input type="text" name="amount" size="5" onfocus="this.form.input_amount_other.checked=true;" />
 
-<p>Your credit card donation will be processed by PayPal. The charge will appear as "GRASS GIS" on your credit card statement.
-<input type="submit" value="DONATE" class="red-input-button">
-
-
-<h3>Please donate to the GRASS GIS project!</h3>
-
-Donation to the GRASS GIS project via Paypal:
-<br><br>
-<center>
-<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="3519431">
+<p>
 <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif"
    border="0" name="submit" alt="Donate via PayPal.com">
-<input type="hidden" name="lc" value="us">
+
 <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
-<br>(any amount is fine; PayPal account is not required:<br>donate via credit card or bank account)
+
+<p>Your donation will be processed by PayPal. The charge will appear <br>
+as "Donation to GRASS via GFOSS.it" on your credit card statement.
 </form>
 </center>
 
-
 <h3>Why donate?</h3>
 
 The GRASS GIS project is a volunteer-based organization. There is of course

Modified: grass-web/trunk/donation.php
===================================================================
--- grass-web/trunk/donation.php	2011-05-22 07:34:30 UTC (rev 46347)
+++ grass-web/trunk/donation.php	2011-05-22 08:15:21 UTC (rev 46348)
@@ -131,7 +131,7 @@
   <td valign="top" class="leftmenu"> <!-- MAIN PART -->
      
      <?php
-       include("d_test.inc");
+       include("donation.inc");
      ?>	       
     <!-- END MAIN PART -->
  



More information about the grass-commit mailing list