Subversion Repositories wpShopGermany4

Rev

Rev 8340 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8340 Rev 8344
Line 7... Line 7...
7
?>
7
?>
8
 
8
 
9
<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_bezeichnung', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_prepayment_bezeichnung'), array('help' => 'wpsg_mod_prepayment_bezeichnung')); ?>
9
<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_bezeichnung', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_prepayment_bezeichnung'), array('help' => 'wpsg_mod_prepayment_bezeichnung')); ?>
10
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_prepayment_aktiv', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_prepayment_aktiv'), array('help' => 'wpsg_mod_prepayment_aktiv')); ?>
10
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_prepayment_aktiv', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_prepayment_aktiv'), array('help' => 'wpsg_mod_prepayment_aktiv')); ?>
11
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_prepayment_qrcode', __('QR-Code anzeigen', 'wpsg'), $this->get_option('wpsg_mod_prepayment_qrcode'), array('help' => 'wpsg_mod_prepayment_qrcode')); ?>
11
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_prepayment_qrcode', __('QR-Code anzeigen', 'wpsg'), $this->get_option('wpsg_mod_prepayment_qrcode'), array('help' => 'wpsg_mod_prepayment_qrcode')); ?>
12
<div id="wpsg_mod_prepayment_qrcode_country_layer" style="display: none;">
12
<div id="wpsg_mod_prepayment_qrcode_options_layer" style="display: none;">
13
	<?php echo wpsg_drawForm_Select('wpsg_mod_prepayment_qrcode_country', __('QR-Code für', 'wpsg'), Array(
13
	<?php echo wpsg_drawForm_Select('wpsg_mod_prepayment_qrcode_country', __('QR-Code für', 'wpsg'), Array(
14
					wpsg_mod_prepayment::QRCODE_BOTH => __('Beide', 'wpsg'),
14
					wpsg_mod_prepayment::QRCODE_BOTH => __('Beide', 'wpsg'),
15
					wpsg_mod_prepayment::QRCODE_EPC => __('Girocode', 'wpsg'),
15
					wpsg_mod_prepayment::QRCODE_EPC => __('Girocode', 'wpsg'),
16
					wpsg_mod_prepayment::QRCODE_SWISS => __('QR-Rechnung', 'wpsg')
16
					wpsg_mod_prepayment::QRCODE_SWISS => __('QR-Rechnung', 'wpsg')
17
				), $this->get_option('wpsg_mod_prepayment_qrcode_country'), array('help' => 'wpsg_mod_prepayment_qrcode_country')); ?>
17
				), $this->get_option('wpsg_mod_prepayment_qrcode_country'), array('help' => 'wpsg_mod_prepayment_qrcode_country')); ?>
-
 
18
	<?php echo wpsg_drawForm_Checkbox('wpsg_mod_prepayment_mailattachment', __('QR-Rechnung an Bestellbestätigung anhängen', 'wpsg'), $this->get_option('wpsg_mod_prepayment_mailattachment'), array('help' => 'wpsg_mod_prepayment_mailattachment')); ?>
18
</div>
19
</div>
19
 
20
 
20
<?php echo wpsg_drawForm_Textarea('wpsg_mod_prepayment_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_prepayment_hint'), array('help' => 'wpsg_mod_prepayment_hint')); ?>
21
<?php echo wpsg_drawForm_Textarea('wpsg_mod_prepayment_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_prepayment_hint'), array('help' => 'wpsg_mod_prepayment_hint')); ?>
21
<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_subject', __('Betreff für Überweisungen', 'wpsg'), $this->get_option('wpsg_mod_prepayment_subject'), array('help' => 'mod_prepayment_subject')); ?>
22
<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_subject', __('Betreff für Überweisungen', 'wpsg'), $this->get_option('wpsg_mod_prepayment_subject'), array('help' => 'mod_prepayment_subject')); ?>
22
 
23
 
Line 36... Line 37...
36
<script>
37
<script>
37
 
38
 
38
	document.addEventListener("DOMContentLoaded", function() {
39
	document.addEventListener("DOMContentLoaded", function() {
39
 
40
 
40
		var qrcodeAktiveCheckbox = document.getElementById('wpsg_mod_prepayment_qrcode');
41
		var qrcodeAktiveCheckbox = document.getElementById('wpsg_mod_prepayment_qrcode');
41
		var qrcodeSelectDiv = document.getElementById('wpsg_mod_prepayment_qrcode_country_layer');
42
		var qrcodeSelectDiv = document.getElementById('wpsg_mod_prepayment_qrcode_options_layer');
42
 
43
 
43
		
44
		
44
		function toggleDivVisibility(checkbox, div) 
45
		function toggleDivVisibility(checkbox, div) 
45
		{
46
		{
46
 
47