5873 |
hartmut |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Templatedatei für die Einstellungen des Targo Moduls
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
|
|
8 |
|
|
|
9 |
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_bezeichnung', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_targo_bezeichnung'), array('help' => 'wpsg_shippay_name')); ?>
|
|
|
10 |
<?php echo wpsg_drawForm_Textarea('wpsg_mod_targo_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_targo_hint'), array('help' => 'wpsg_shippay_hint')); ?>
|
|
|
11 |
|
|
|
12 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_targo_aktiv', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_targo_aktiv'), array('help' => 'wpsg_mod_targo_activ')); ?>
|
|
|
13 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_targo_autostart', __('Autostart', 'wpsg'), $this->get_option('wpsg_mod_targo_autostart'), array('help' => 'wpsg_mod_targo_autostart')); ?>
|
|
|
14 |
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_summe_min', __('Mindestfinanzierungssumme', 'wpsg'), $this->get_option('wpsg_mod_targo_summe_min'), array('help' => 'wpsg_mod_targo_summe_min')); ?>
|
|
|
15 |
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_summe_max', __('Maximale Finanzierungssumme', 'wpsg'), $this->get_option('wpsg_mod_targo_summe_max'), array('help' => 'wpsg_mod_targo_summe_max')); ?>
|
|
|
16 |
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_laufzeit_min', __('Mindestlaufzeit (Monate)', 'wpsg'), $this->get_option('wpsg_mod_targo_laufzeit_min'), array('help' => 'wpsg_mod_targo_laufzeit_min')); ?>
|
|
|
17 |
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_laufzeit_max', __('Maximale Laufzeit (Monate)', 'wpsg'), $this->get_option('wpsg_mod_targo_laufzeit_max'), array('help' => 'wpsg_mod_targo_laufzeit_max')); ?>
|
|
|
18 |
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_rate_min', __('Mindestrate', 'wpsg'), $this->get_option('wpsg_mod_targo_rate_min'), array('help' => 'wpsg_mod_targo_rate_min')); ?>
|
|
|
19 |
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_url', __('Targo-URL', 'wpsg'), $this->get_option('wpsg_mod_targo_url'), array('help' => 'wpsg_mod_targo_url')); ?>
|
|
|
20 |
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_koop_id', __('Targo-Koop-ID', 'wpsg'), $this->get_option('wpsg_mod_targo_koop_id'), array('help' => 'wpsg_mod_targo_koop_id')); ?>
|
|
|
21 |
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_dealerid', __('Targo-Dealer-ID', 'wpsg'), $this->get_option('wpsg_mod_targo_dealerid'), array('help' => 'wpsg_mod_targo_dealerid')); ?>
|
|
|
22 |
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_hashkey', __('Targo-Hash-Key', 'wpsg'), $this->get_option('wpsg_mod_targo_hashkey'), array('help' => 'wpsg_mod_targo_hashkey')); ?>
|
|
|
23 |
|
|
|
24 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_targo_createwebhook', __('Beim speichern versuchen den WebHook anzumelden.', 'wpsg'), 0, array('labelright' => true, 'noDoubleDot' => true, 'help' => 'wpsg_mod_targo_createwebhook')); ?>
|
|
|
25 |
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_targo_gebuehr'), true), array('help' => 'wpsg_shippay_gebuehr', 'unit' => $this->get_option('wpsg_currency').' / %')); ?>
|
|
|
26 |
<?php echo wpsg_drawForm_Select('wpsg_mod_targo_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_targo_mwst'), array('help' => 'wpsg_shippay_mwst')); ?>
|
|
|
27 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_targo_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_targo_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?>
|
|
|
28 |
|
|
|
29 |
<?php echo wpsg_drawForm_Select('wpsg_mod_targo_success', __('Erfolgsseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_mod_targo_success'), array('help' => 'wpsg_mod_targo_success')); ?>
|
|
|
30 |
<?php echo wpsg_drawForm_Select('wpsg_mod_targo_error', __('Fehlerseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_mod_targo_error'), array('help' => 'wpsg_mod_targo_error')); ?>
|
|
|
31 |
|
|
|
32 |
<br />
|
|
|
33 |
|
|
|
34 |
<div class="wpsg_mod_targo_mode_layer wpsg_mod_targo_mode_1">
|
|
|
35 |
|
|
|
36 |
</div>
|
|
|
37 |
|
|
|
38 |
<script type="text/javascript">/* <![CDATA[ */
|
|
|
39 |
|
|
|
40 |
jQuery(document).ready(function() {
|
|
|
41 |
|
|
|
42 |
jQuery('#wpsg_mod_targo_mode').bind('change', function() {
|
|
|
43 |
|
|
|
44 |
jQuery('.wpsg_mod_targo_mode_layer').hide();
|
|
|
45 |
jQuery('.wpsg_mod_targo_mode_' + jQuery(this).val()).show();
|
|
|
46 |
|
|
|
47 |
}).change();
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
});
|
|
|
51 |
|
|
|
52 |
/* ]]> */</script>
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
<br />
|