[git] gnupg-doc - branch, preview, updated. a0822ddba75329f913319dc38c3742d457ca493a

by Werner Koch cvs at cvs.gnupg.org
Tue May 16 19:11:49 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GnuPG website and other docs".

The branch, preview has been updated
       via  a0822ddba75329f913319dc38c3742d457ca493a (commit)
      from  c6c7cefda5d1e41c7356f71a69451edd99e66d81 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a0822ddba75329f913319dc38c3742d457ca493a
Author: Werner Koch <wk at gnupg.org>
Date:   Tue May 16 19:08:32 2017 +0200

    cgi: Rename the preset vars and supply the currency

diff --git a/cgi/procdonate.cgi b/cgi/procdonate.cgi
index 46fc0dd..a6dc28d 100755
--- a/cgi/procdonate.cgi
+++ b/cgi/procdonate.cgi
@@ -1029,13 +1029,13 @@ elsif ($mode eq 'preset') {
     else {
         # Then look at arbitrary values
         # No checking needed.
-        if ($q->param('s_amount') ne '') {
+        if ($q->param('s_amt') ne '') {
             $amount = int $q->param('s_amount');
         }
-        if ($q->param('s_currency') ne '') {
+        if ($q->param('s_cur') ne '') {
             $currency = $q->param('s_currency');
         }
-        if ($q->param('s_paytype') ne '') {
+        if ($q->param('s_pt') ne '') {
             $paytype = $q->param('s_paytype');
         }
     }
diff --git a/web/donate/donate.de.org b/web/donate/donate.de.org
index 8d80df4..e6904a8 100644
--- a/web/donate/donate.de.org
+++ b/web/donate/donate.de.org
@@ -1,3 +1,4 @@
+#                                                  -*- html -*-
 #+TITLE: GnuPG - Spenden
 #+STARTUP: showall
 #+SETUPFILE: "../share/setup.inc"
diff --git a/web/donate/donate.org b/web/donate/donate.org
index d7a61c3..13491a9 100644
--- a/web/donate/donate.org
+++ b/web/donate/donate.org
@@ -95,19 +95,19 @@
       <div class="form-group">
         <div class="col-md-offset-2 col-md-6">
           <div class="btn-group btn-group-xs" role="group" aria-label="suggested amounts">
-            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amount=500"
+            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amt=500&s_cur=eur"
                class="btn btn-default">500&#x202f;€</a>
-            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amount=200"
+            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amt=200&s_cur=eur"
                class="btn btn-default">200&#x202f;€</a>
-            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amount=100"
+            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amt=100&s_cur=eur"
                class="btn btn-default">100&#x202f;€</a>
-            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amount=50"
+            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amt=50&s_cur=eur"
                class="btn btn-default">50&#x202f;€</a>
-            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amount=20"
+            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amt=20&s_cur=eur"
                class="btn btn-default">20&#x202f;€</a>
-            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amount=10"
+            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amt=10&s_cur=eur"
                class="btn btn-default">10&#x202f;€</a>
-            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amount=5"
+            <a href="/cgi-bin/procdonate.cgi?mode=preset&s_amt=5&s_cur=eur"
                class="btn btn-default">5&#x202f;€</a>
           </div>
           <span class="help-block">

-----------------------------------------------------------------------

Summary of changes:
 cgi/procdonate.cgi       |  6 +++---
 web/donate/donate.de.org |  1 +
 web/donate/donate.org    | 14 +++++++-------
 3 files changed, 11 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
The GnuPG website and other docs
http://git.gnupg.org




More information about the Gnupg-commits mailing list