André Hentschel : Add a Donation Page with more Options

Jeremy Newman jnewman at winehq.org
Mon Nov 29 09:35:01 CST 2010


Module: website
Branch: master
Commit: f65dab55f68fda242d58427f7969bc3389fce2a6
URL:    http://source.winehq.org/git/website.git/?a=commit;h=f65dab55f68fda242d58427f7969bc3389fce2a6

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Nov 22 20:04:43 2010 +0100

Add a Donation Page with more Options

Hi,
This is one result from wineconf 2010.
(I talked to Jeremy White and he is fine with this idea)
I'm no native speaker, so someone might want to check the spelling :)
Also i hope someone comes up and inserts some icons (see the help and devel tables)

---

 templates/de/home.template   |    7 +---
 templates/en/donate.template |   77 ++++++++++++++++++++++++++++++++++++++++++
 templates/en/home.template   |    7 +---
 templates/es/home.template   |    7 +---
 templates/fr/home.template   |    9 +----
 templates/he/home.template   |    7 +---
 templates/pl/home.template   |    7 +---
 7 files changed, 83 insertions(+), 38 deletions(-)

diff --git a/templates/de/home.template b/templates/de/home.template
index b2693ad..cd392d0 100644
--- a/templates/de/home.template
+++ b/templates/de/home.template
@@ -41,12 +41,7 @@
               </div>
             </div>
 
-            <form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="donateForm" style="margin: 0; padding: 0;">
-            <input type="hidden" name="cmd" value="_donations">
-            <input type="hidden" name="business" value="donate at winehq.org">
-            <input type="hidden" name="item_name" value="Wine donation">
-            </form>
-            <div class="donate" onClick="document.donateForm.submit();">
+            <div class="donate" onClick="document.location='{$root}/donate/';">
               <div class="icon"></div>
               <div class="text">
                 <div class="title"><a href="javascript:document.donateForm.submit();">Spenden</a></div>
diff --git a/templates/en/donate.template b/templates/en/donate.template
new file mode 100644
index 0000000..4006308
--- /dev/null
+++ b/templates/en/donate.template
@@ -0,0 +1,77 @@
+<!--TITLE:[Donate to the Wine project.]-->
+<!--BLURB:[Help getting us together.]-->
+
+<h1 class="title">Donate to the Wine project</h1>
+
+<p>There are some ways to donate to the Wine project.</p>
+
+<table border="0" cellpadding="10" cellspacing="1" bgcolor="#EFEFEF">
+
+  <tr>
+    <td align="center" bgcolor="black" class="small"><b style="color: #FFFFFF">Option</b></td>
+    <td align="center" bgcolor="black" class="small"><b style="color: #FFFFFF">About this donation Option</b></td>
+  </tr>
+
+  <form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="donateForm" style="margin: 0; padding: 0;">
+  <input type="hidden" name="cmd" value="_donations">
+  <input type="hidden" name="business" value="donate at winehq.org">
+  <input type="hidden" name="item_name" value="Wine donation">
+  </form>
+
+  <tr bgcolor="#ffffff">
+    <td align="center" class="small">
+        <a href="javascript:document.donateForm.submit();">Paypal</a>
+    </td>
+    <td valign="top">
+        With <a href="javascript:document.donateForm.submit();">Paypal</a> you can donate per Credit Card or Paypal account.
+    </td>
+  </tr>
+
+  <tr bgcolor="#ffffff">
+    <td align="center" class="small">
+        <a href="http://www.freewear.org/?org=Wine">FreeWear</a>
+    </td>
+    <td valign="top">
+        You can buy Wine specific clothes at <a href="http://www.freewear.org/?org=Wine">FreeWear.org</a>.
+        For each article you buy, they donate a part of their benefit to Wine.
+    </td>
+  </tr>
+
+  <tr bgcolor="#ffffff">
+    <td align="center" class="small">
+        <a href="http://www.winehq.org/contributing#wpf">Mail</a>
+    </td>
+    <td valign="top">
+        You can also send us cash, cheque or international money order in US funds.
+        See <a href="http://www.winehq.org/contributing#wpf">that Link</a> for more information.
+    </td>
+  </tr>
+
+  <tr bgcolor="#ffffff">
+    <td align="center" class="small">
+        <a href="http://www.amazon.com/exec/obidos/redirect-home/winehq">Amazon</a>
+    </td>
+    <td valign="top">
+        Purchase from <a href="http://www.amazon.com/exec/obidos/redirect-home/winehq">Amazon.com</a> through that specific link.
+    </td>
+  </tr>
+  
+<tr bgcolor="#ffffff">
+    <td align="center" class="small">
+        <a href="http://www.cdnow.com/from=sr-1093221">CDnow</a>
+    </td>
+    <td valign="top">
+        Purchase from <a href="http://www.cdnow.com/from=sr-1093221">CDnow</a> through that specific link.
+    </td>
+  </tr>
+
+  <tr bgcolor="#ffffff">
+    <td align="center" class="small">
+        <a href="http://sourceforge.net/donate/index.php?group_id=6241">SourceForge</a>
+    </td>
+    <td valign="top">
+        We also have a <a href="http://sourceforge.net/donate/index.php?group_id=6241">SourceForge.net</a> PayPal account.
+    </td>
+  </tr>
+
+</table>
diff --git a/templates/en/home.template b/templates/en/home.template
index 1feb78a..fc6c85e 100644
--- a/templates/en/home.template
+++ b/templates/en/home.template
@@ -41,12 +41,7 @@
               </div>
             </div>
 
-            <form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="donateForm" style="margin: 0; padding: 0;">
-            <input type="hidden" name="cmd" value="_donations">
-            <input type="hidden" name="business" value="donate at winehq.org">
-            <input type="hidden" name="item_name" value="Wine donation">
-            </form>
-            <div class="donate" onClick="document.donateForm.submit();">
+            <div class="donate" onClick="document.location='{$root}/donate/';">
               <div class="icon"></div>
               <div class="text">
                 <div class="title"><a href="javascript:document.donateForm.submit();">Donate</a></div>
diff --git a/templates/es/home.template b/templates/es/home.template
index 0b3a910..f2afd8d 100644
--- a/templates/es/home.template
+++ b/templates/es/home.template
@@ -41,12 +41,7 @@
               </div>
             </div>
 
-            <form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="donateForm" style="margin: 0; padding: 0;">
-            <input type="hidden" name="cmd" value="_donations">
-            <input type="hidden" name="business" value="donate at winehq.org">
-            <input type="hidden" name="item_name" value="Wine donation">
-            </form>
-            <div class="donate" onClick="document.donateForm.submit();">
+            <div class="donate" onClick="document.location='{$root}/donate/';">
               <div class="icon"></div>
               <div class="text">
                 <div class="title"><a href="javascript:document.donateForm.submit();">Dona</a></div>
diff --git a/templates/fr/home.template b/templates/fr/home.template
index ad8d7f6..2de2c80 100644
--- a/templates/fr/home.template
+++ b/templates/fr/home.template
@@ -41,14 +41,7 @@
               </div>
             </div>
 
-            <form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="donateForm" style="margin: 0; padding: 0;">
-            <input type="hidden" name="cmd" value="_donations">
-            <input type="hidden" name="business" value="donate at winehq.org">
-            <input type="hidden" name="item_name" value="Donation pour Wine">
-            <input type="hidden" name="lc" value="FR">
-            <input type="hidden" name="currency_code" value="EUR">
-            </form>
-            <div class="donate" onClick="document.donateForm.submit();">
+            <div class="donate" onClick="document.location='{$root}/donate/';">
               <div class="icon"></div>
               <div class="text">
                 <div class="title"><a href="javascript:document.donateForm.submit();">Dons</a></div>
diff --git a/templates/he/home.template b/templates/he/home.template
index d0c249f..7953ed6 100644
--- a/templates/he/home.template
+++ b/templates/he/home.template
@@ -41,12 +41,7 @@
               </div>
             </div>
 
-            <form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="donateForm" style="margin: 0; padding: 0;">
-            <input type="hidden" name="cmd" value="_donations">
-            <input type="hidden" name="business" value="donate at winehq.org">
-            <input type="hidden" name="item_name" value="Wine donation">
-            </form>
-            <div class="donate" onClick="document.donateForm.submit();">
+            <div class="donate" onClick="document.location='{$root}/donate/';">
               <div class="icon"></div>
               <div class="text">
                 <div class="title"><a href="javascript:document.donateForm.submit();">תרומה</a></div>
diff --git a/templates/pl/home.template b/templates/pl/home.template
index 3a018ac..7584775 100644
--- a/templates/pl/home.template
+++ b/templates/pl/home.template
@@ -41,12 +41,7 @@
               </div>
             </div>
 
-            <form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="donateForm" style="margin: 0; padding: 0;">
-            <input type="hidden" name="cmd" value="_donations">
-            <input type="hidden" name="business" value="donate at winehq.org">
-            <input type="hidden" name="item_name" value="Wine donation">
-            </form>
-            <div class="donate" onClick="document.donateForm.submit();">
+            <div class="donate" onClick="document.location='{$root}/donate/';">
               <div class="icon"></div>
               <div class="text">
                 <div class="title"><a href="javascript:document.donateForm.submit();">Darowizny</a></div>




More information about the wine-cvs mailing list