summaryrefslogtreecommitdiff
path: root/views/mods
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2019-09-02 11:16:56 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2019-09-02 11:16:56 +0000
commit33a005537664c45b6d99e6c4208b9dbf5e9dff3c (patch)
tree38423b70b86376cb5b52791e3c00e7844172c280 /views/mods
parentc6a109a284d9856302855b17eb5ef774f50ee07d (diff)
- Sync
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7514 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods')
-rw-r--r--views/mods/mod_paypalratepay/settings_edit.phtml27
1 files changed, 27 insertions, 0 deletions
diff --git a/views/mods/mod_paypalratepay/settings_edit.phtml b/views/mods/mod_paypalratepay/settings_edit.phtml
new file mode 100644
index 0000000..d4458ac
--- /dev/null
+++ b/views/mods/mod_paypalratepay/settings_edit.phtml
@@ -0,0 +1,27 @@
+<?php
+
+ /**
+ * Template für die Einstellungen des PayPal API Moduls
+ */
+
+?>
+
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_paypalratepay_aktiv', __('PayPal Ratenzahlung für neue Bestellungen erlauben', 'wpsg'), $this->get_option('wpsg_mod_paypalratepay_aktiv'), array('help' => 'wpsg_shippay_activ')); ?>
+
+<?php echo wpsg_drawForm_Input('wpsg_mod_paypalratepay_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_paypalratepay_name'), array('help' => 'wpsg_shippay_name')); ?>
+<?php echo wpsg_drawForm_Textarea('wpsg_mod_paypalratepay_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_paypalratepay_hint'), array('help' => 'wpsg_shippay_hint')); ?>
+
+<script>
+
+ jQuery(document).ready(function() {
+
+ jQuery('#wpsg_mod_paypalratepay_sandbox').bind('change', function() {
+
+ if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_sandbox_layer').show();
+ else jQuery('.wpsg_mod_sandbox_layer').hide();
+
+ } ).change();
+
+ } );
+
+</script> \ No newline at end of file