Add missing `.button` class in PaypalPaymentMethod
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 21 Jul 2023 07:10:31 +0000 (09:10 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 21 Jul 2023 07:11:17 +0000 (09:11 +0200)
wcfsetup/install/files/lib/system/payment/method/PaypalPaymentMethod.class.php

index 974e421923cbe6d07277f6d45706040dfa886067..2a064f61d3ba7567066ef6004337e1e775c3532c 100644 (file)
@@ -92,7 +92,7 @@ class PaypalPaymentMethod extends AbstractPaymentMethod
                                        <input type="hidden" name="quantity" value="1">
                                        <input type="hidden" name="return" value="' . StringUtil::encodeHTML($returnURL) . '">
                        
-                                       <button class="small" type="submit">' . WCF::getLanguage()->get('wcf.payment.paypal.button.subscribe') . '</button>
+                                       <button class="button small" type="submit">' . WCF::getLanguage()->get('wcf.payment.paypal.button.subscribe') . '</button>
                                </form>';
         } else {
             return '<form method="post" action="https://www.' . (ENABLE_DEBUG_MODE ? 'sandbox.' : '') . 'paypal.com/cgi-bin/webscr">
@@ -112,7 +112,7 @@ class PaypalPaymentMethod extends AbstractPaymentMethod
                                        <input type="hidden" name="quantity" value="1">
                                        <input type="hidden" name="return" value="' . StringUtil::encodeHTML($returnURL) . '">
                                        
-                                       <button class="small" type="submit">' . WCF::getLanguage()->get('wcf.payment.paypal.button.purchase') . '</button>
+                                       <button class="button small" type="submit">' . WCF::getLanguage()->get('wcf.payment.paypal.button.purchase') . '</button>
                                </form>';
         }
     }