7267 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Einstellungen für das Kundenkontaktmodul
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
namespace wpsg;
|
|
|
8 |
|
|
|
9 |
?>
|
|
|
10 |
|
|
|
11 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_kundenkontakt[smsflatrate][active]', __('SMS Flatrate Dienst nutzen', 'wpsg'), $this->get_option('wpsg_mod_kundenkontakt_smsflatrate_active'), ['help' => 'wpsg_mod_kundenkontakt_smsflatrate_active']); ?>
|
|
|
12 |
|
|
|
13 |
<div id="smsflatrate_layer" style="display:<?php echo (($this->get_option('wpsg_mod_kundenkontakt_smsflatrate_active') === '1')?'block':'none'); ?>;">
|
|
|
14 |
|
|
|
15 |
<?php echo wpsg_drawForm_Input('wpsg_mod_kundenkontakt[smsflatrate][key]',__('Schlüssel', 'wpsg'), $this->get_option('wpsg_mod_kundenkontakt_smsflatrate_key'), ['help' => 'wpsg_mod_kundenkontakt_smsflatrate_key']); ?>
|
|
|
16 |
<?php echo wpsg_drawForm_Input('wpsg_mod_kundenkontakt[smsflatrate][from]',__('Absender', 'wpsg'), $this->get_option('wpsg_mod_kundenkontakt_smsflatrate_from'), ['help' => 'wpsg_mod_kundenkontakt_smsflatrate_from']); ?>
|
|
|
17 |
<?php echo wpsg_drawForm_Input('wpsg_mod_kundenkontakt[smsflatrate][type]',__('Feld d / "type"', 'wpsg'), $this->get_option('wpsg_mod_kundenkontakt_smsflatrate_type'), ['help' => 'wpsg_mod_kundenkontakt_smsflatrate_type']); ?>
|
|
|
18 |
<?php echo wpsg_drawForm_Input('wpsg_mod_kundenkontakt[smsflatrate][status]',__('Feld e / "status"', 'wpsg'), $this->get_option('wpsg_mod_kundenkontakt_smsflatrate_status'), ['help' => 'wpsg_mod_kundenkontakt_smsflatrate_status']); ?>
|
|
|
19 |
<?php echo wpsg_drawForm_Input('wpsg_mod_kundenkontakt[smsflatrate][reply]',__('Feld f / "reply"', 'wpsg'), $this->get_option('wpsg_mod_kundenkontakt_smsflatrate_reply'), ['help' => 'wpsg_mod_kundenkontakt_smsflatrate_reply']); ?>
|
|
|
20 |
<?php echo wpsg_drawForm_Input('wpsg_mod_kundenkontakt[smsflatrate][replytomail]',__('Feld g / "replytomail"', 'wpsg'), $this->get_option('wpsg_mod_kundenkontakt_smsflatrate_replytomail'), ['help' => 'wpsg_mod_kundenkontakt_smsflatrate_replytomail']); ?>
|
|
|
21 |
|
|
|
22 |
</div>
|
|
|
23 |
|
|
|
24 |
<script>
|
|
|
25 |
|
|
|
26 |
jQuery('#wpsg_mod_kundenkontaktsmsflatrateactive').on('click', function() {
|
|
|
27 |
|
|
|
28 |
if (jQuery(this).prop('checked')) {
|
|
|
29 |
|
|
|
30 |
jQuery('#smsflatrate_layer').show();
|
|
|
31 |
|
|
|
32 |
} else {
|
|
|
33 |
|
|
|
34 |
jQuery('#smsflatrate_layer').hide();
|
|
|
35 |
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
} );
|
|
|
39 |
|
|
|
40 |
</script>
|