Subversion Repositories wpShopGermany4

Compare Revisions

Ignore whitespace Rev 8340 → Rev 8351

/mods/mod_prepayment/settings_edit.phtml
9,12 → 9,13
<?php echo wpsg_drawForm_Input('wpsg_mod_prepayment_bezeichnung', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_prepayment_bezeichnung'), array('help' => 'wpsg_mod_prepayment_bezeichnung')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_prepayment_aktiv', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_prepayment_aktiv'), array('help' => 'wpsg_mod_prepayment_aktiv')); ?>
<?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')); ?>
<div id="wpsg_mod_prepayment_qrcode_country_layer" style="display: none;">
<div id="wpsg_mod_prepayment_qrcode_options_layer" style="display: none;">
<?php echo wpsg_drawForm_Select('wpsg_mod_prepayment_qrcode_country', __('QR-Code für', 'wpsg'), Array(
wpsg_mod_prepayment::QRCODE_BOTH => __('Beide', 'wpsg'),
wpsg_mod_prepayment::QRCODE_EPC => __('Girocode', 'wpsg'),
wpsg_mod_prepayment::QRCODE_SWISS => __('QR-Rechnung', 'wpsg')
), $this->get_option('wpsg_mod_prepayment_qrcode_country'), array('help' => 'wpsg_mod_prepayment_qrcode_country')); ?>
<?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')); ?>
</div>
 
<?php echo wpsg_drawForm_Textarea('wpsg_mod_prepayment_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_prepayment_hint'), array('help' => 'wpsg_mod_prepayment_hint')); ?>
38,7 → 39,7
document.addEventListener("DOMContentLoaded", function() {
 
var qrcodeAktiveCheckbox = document.getElementById('wpsg_mod_prepayment_qrcode');
var qrcodeSelectDiv = document.getElementById('wpsg_mod_prepayment_qrcode_country_layer');
var qrcodeSelectDiv = document.getElementById('wpsg_mod_prepayment_qrcode_options_layer');
 
function toggleDivVisibility(checkbox, div)