summaryrefslogtreecommitdiff
path: root/views/mods/mod_paypalratepay/settings_edit.phtml
blob: d4458ac9ceb03db1f389d9279d323ab5271875b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>