diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-09-01 06:32:06 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-09-01 06:32:06 +0000 |
| commit | b2b88e83f3fc509a0fe65ac48ca5b6c2af20f9b6 (patch) | |
| tree | 0c1720b6bcbd0bf3d74ca887b719fb9115bb5403 /views/mods/mod_paypalapi/settings_edit.phtml | |
| parent | f4d68ae74cdcd77e40de63fdbe5ee8ab4c63920c (diff) | |
- Ticket #481
- Feature - PayPal PLUS - Währungscode in den Moduleinstellungen definierbar
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5731 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_paypalapi/settings_edit.phtml')
| -rw-r--r-- | views/mods/mod_paypalapi/settings_edit.phtml | 25 |
1 files changed, 23 insertions, 2 deletions
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 @@ <br />
+<?php echo wpsg_drawForm_Input('wpsg_mod_paypalapi_currency', __('Währungscode (Standard: EUR)'), $this->get_option('wpsg_mod_paypalapi_currency'), array('help' => 'wpsg_mod_paypal_currency')); ?>
+
+<br />
+
<?php echo wpsg_drawForm_Input('', __('WebHook URL', 'wpsg'), $this->getUrl(wpsg_ShopController::URL_BASKET, 'wpsg_mod_paypalapi', 'webHook', array(), true), array('readonly' => true, 'help' => 'wpsg_mod_paypal_webhook_url')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_paypalapi_create', __('Beim speichern versuchen den WebHook anzumelden.', 'wpsg'), 0, array('labelright' => true, 'noDoubleDot' => true, 'help' => 'wpsg_mod_paypal_createwebhook')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_paypalapi_webhook_log', __('WebHook Anfragen protokollieren', 'wpsg'), $this->get_option('wpsg_mod_paypalapi_webhook_log'), array('labelright' => true)); ?>
@@ -77,6 +81,11 @@ <br />
</div>
+<div class="wpsg_mod_paypalapi_plus_inaktiv">
+- <?php echo wpsg_drawForm_Checkbox('wpsg_mod_paypalapi_autostart', __('Zahlung sofort starten', 'wpsg'), $this->get_option('wpsg_mod_paypalapi_autostart'), array('help' => 'wpsg_shippay_paystart')); ?>
+-
+-</div>
+
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_paypalapi_paypalexpress_details', __('Warenkorbdetails übertragen', 'wpsg'), $this->get_option('wpsg_mod_paypalapi_paypalexpress_details'), array('help' => 'wpsg_mod_paypalapi_paypalexpress_details')); ?>
<br />
@@ -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();
|
