summaryrefslogtreecommitdiff
path: root/views/mods
diff options
context:
space:
mode:
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