From b2b88e83f3fc509a0fe65ac48ca5b6c2af20f9b6 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Thu, 1 Sep 2016 06:32:06 +0000 Subject: - Ticket #481 - Feature - PayPal PLUS - Währungscode in den Moduleinstellungen definierbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5731 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_paypalapi/order_done.phtml | 52 ++++++++++++++++++++++------ views/mods/mod_paypalapi/settings_edit.phtml | 25 +++++++++++-- 2 files changed, 64 insertions(+), 13 deletions(-) diff --git a/views/mods/mod_paypalapi/order_done.phtml b/views/mods/mod_paypalapi/order_done.phtml index 871da98..1e232e9 100644 --- a/views/mods/mod_paypalapi/order_done.phtml +++ b/views/mods/mod_paypalapi/order_done.phtml @@ -16,16 +16,46 @@ - - - -
- - +

+ + get_option('wpsg_mod_paypalapi_plus_aktiv'))) { ?> + + + +
+ + +
+ + + + + + +

+ + + <?php echo __('Mit PayPal bezahlen', 'wpsg'); ?> + + + get_option('wpsg_mod_paypalapi_autostart') == '1') { ?> + + + + + \ No newline at end of file diff --git a/views/mods/mod_paypalapi/settings_edit.phtml b/views/mods/mod_paypalapi/settings_edit.phtml index 55e15de..24a0cf0 100644 --- a/views/mods/mod_paypalapi/settings_edit.phtml +++ b/views/mods/mod_paypalapi/settings_edit.phtml @@ -21,6 +21,10 @@
+get_option('wpsg_mod_paypalapi_currency'), array('help' => 'wpsg_mod_paypal_currency')); ?> + +
+ getUrl(wpsg_ShopController::URL_BASKET, 'wpsg_mod_paypalapi', 'webHook', array(), true), array('readonly' => true, 'help' => 'wpsg_mod_paypal_webhook_url')); ?> true, 'noDoubleDot' => true, 'help' => 'wpsg_mod_paypal_createwebhook')); ?> get_option('wpsg_mod_paypalapi_webhook_log'), array('labelright' => true)); ?> @@ -77,6 +81,11 @@
+
+- get_option('wpsg_mod_paypalapi_autostart'), array('help' => 'wpsg_shippay_paystart')); ?> +- +-
+ get_option('wpsg_mod_paypalapi_paypalexpress_details'), array('help' => 'wpsg_mod_paypalapi_paypalexpress_details')); ?>
@@ -120,8 +129,20 @@ jQuery('#wpsg_mod_paypalapi_plus_aktiv').bind('change', function() { - if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_paypalapi_plus_aktiv').show(); - else jQuery('.wpsg_mod_paypalapi_plus_aktiv').hide(); + if (jQuery(this).is(':checked')) +- { +- +- jQuery('.wpsg_mod_paypalapi_plus_aktiv').show(); +- jQuery('.wpsg_mod_paypalapi_plus_inaktiv').hide(); +- +- } +- else +- { +- +- jQuery('.wpsg_mod_paypalapi_plus_aktiv').hide(); +- jQuery('.wpsg_mod_paypalapi_plus_inaktiv').show(); +- +- } } ).change(); -- cgit v1.2.3