cgi: Let the checkout pages always pass a "lang" attribute.
authorWerner Koch <wk@gnupg.org>
Tue, 23 May 2017 07:49:32 +0000 (09:49 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 23 May 2017 07:49:32 +0000 (09:49 +0200)
web/donate/checkout-cc.de.org
web/donate/checkout-cc.fr.org
web/donate/checkout-cc.ja.org
web/donate/checkout-pp.de.org
web/donate/checkout-pp.fr.org
web/donate/checkout-pp.ja.org
web/donate/checkout-pp.org

index f58d70d..27bd13b 100644 (file)
                   class="form-inline">
               <input type="hidden" name="mode" value="checkout-stripe" />
               <input type="hidden" name="sessid" value="<!--SESSID-->" />
+              <input type="hidden" name="lang" value="<!--LANG-->" />
               <script
                 src="https://checkout.stripe.com/checkout.js"
                 class="stripe-button"
index 43d2db0..09a5d29 100644 (file)
             <div class="form-group">
               <label class="col-sm-3 control-label">Montant</label>
               <div class="col-sm-9">
-                <p class="form-control-static"><!--AMOUNT--> <!--CURRENCY--> <!--RECUR_TEXT--></p>
+                <p class="form-control-static">
+                  <!--AMOUNT-->
+                  <!--CURRENCY-->
+                  <!--RECUR_TEXT-->
+                </p>
               </div>
             </div>
             <div class="form-group">
       <div class="row">
         <div class="col-sm-5 col-md-offset-2">
           <p>
-            <form action="/cgi-bin/procdonate.cgi" method="POST" class="form-inline">
-              <input type="hidden" name="mode" value="checkout-stripe">
-              <input type="hidden" name="sessid" value="<!--SESSID-->">
+            <form action="/cgi-bin/procdonate.cgi" method="POST"
+                  class="form-inline">
+              <input type="hidden" name="mode" value="checkout-stripe" />
+              <input type="hidden" name="sessid" value="<!--SESSID-->" />
+              <input type="hidden" name="lang" value="<!--LANG-->" />
               <script
                 src="https://checkout.stripe.com/checkout.js"
                 class="stripe-button"
             </form>
           </p>
           <p>
-            <form action="/cgi-bin/procdonate.cgi" method="POST" class="form-inline">
+            <form action="/cgi-bin/procdonate.cgi" method="POST"
+                  class="form-inline">
               <input type="hidden" name="mode" value="re-main">
               <input type="hidden" name="sessid" value="<!--SESSID-->">
               <input type="hidden" name="lang" value="<!--LANG-->">
index 01c0446..8321bbd 100644 (file)
                   class="form-inline">
               <input type="hidden" name="mode" value="checkout-stripe" />
               <input type="hidden" name="sessid" value="<!--SESSID-->" />
+              <input type="hidden" name="lang" value="<!--LANG-->" />
               <script
                 src="https://checkout.stripe.com/checkout.js"
                 class="stripe-button"
           <p>
             <form action="/cgi-bin/procdonate.cgi" method="POST"
                   class="form-inline">
-              <input type="hidden" name="mode" value="re-main">
-              <input type="hidden" name="sessid" value="<!--SESSID-->">
-              <input type="hidden" name="lang" value="<!--LANG-->">
+              <input type="hidden" name="mode" value="re-main" />
+              <input type="hidden" name="sessid" value="<!--SESSID-->" />
+              <input type="hidden" name="lang" value="<!--LANG-->" />
               <input type="submit" class="btn btn-default btn-sm"
                      value="戻る" />
             </form>
index 7f6ce9c..23f8560 100644 (file)
                   class="form-inline">
               <input type="hidden" name="mode" value="checkout-paypal" />
               <input type="hidden" name="sessid" value="<!--SESSID-->" />
+              <input type="hidden" name="lang" value="<!--LANG-->" />
               <input type="submit" class="btn btn-primary btn-sm"
                      value="Jetzt bezahlen" />
             </form>
index eac368c..b80bbc7 100644 (file)
             <div class="form-group">
               <label class="col-sm-3 control-label">Montant</label>
               <div class="col-sm-9">
-                <p class="form-control-static"><!--AMOUNT--> <!--CURRENCY--></p>
+                <p class="form-control-static">
+                  <!--AMOUNT-->
+                  <!--CURRENCY-->
+                  <!--RECUR_TEXT-->
+                </p>
               </div>
             </div>
             <div class="form-group">
             <form action="/cgi-bin/procdonate.cgi" method="POST" class="form-inline">
               <input type="hidden" name="mode" value="checkout-paypal" />
               <input type="hidden" name="sessid" value="<!--SESSID-->" />
+              <input type="hidden" name="lang" value="<!--LANG-->" />
               <input type="submit" class="btn btn-primary btn-sm" value="Payer" />
             </form>
           </p>
index a88b59d..b005c72 100644 (file)
             <div class="form-group">
               <label class="col-sm-3 control-label">金額</label>
               <div class="col-sm-9">
-                <p class="form-control-static"><!--AMOUNT--> <!--CURRENCY--></p>
+                <p class="form-control-static">
+                  <!--AMOUNT-->
+                  <!--CURRENCY-->
+                  <!--RECUR_TEXT-->
+                </p>
               </div>
             </div>
             <div class="form-group">
@@ -94,6 +98,7 @@
             <form action="/cgi-bin/procdonate.cgi" method="POST" class="form-inline">
               <input type="hidden" name="mode" value="checkout-paypal" />
               <input type="hidden" name="sessid" value="<!--SESSID-->" />
+              <input type="hidden" name="lang" value="<!--LANG-->" />
               <input type="submit" class="btn btn-primary btn-sm" value="支払う" />
             </form>
           </p>
index 54357b4..bcbc56f 100644 (file)
                   class="form-inline">
               <input type="hidden" name="mode" value="checkout-paypal" />
               <input type="hidden" name="sessid" value="<!--SESSID-->" />
+              <input type="hidden" name="lang" value="<!--LANG-->" />
               <input type="submit" class="btn btn-primary btn-sm"
                      value="Pay now" />
             </form>