7753 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Einstellungen für das Micropayment Modul
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
$view = $this->view['wpsg_mod_micropayment_paywindow'];
|
|
|
8 |
|
|
|
9 |
?>
|
7755 |
daniel |
10 |
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_projectid', __('Project Kennung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_projectid'), array('help' => 'wpsg_mod_micropayment_paywindow_projectid')); ?>
|
7753 |
daniel |
11 |
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_accesskey', __('AccessKey', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_accesskey'), array('help' => 'wpsg_mod_micropayment_paywindow_accesskey')); ?>
|
7754 |
daniel |
12 |
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_notification_url', __('Benachrichtigungs-URL', 'wpsg'), $view['notification_url'], ['readonly' => true]); ?>
|
|
|
13 |
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_notification_password', __('Benachrichtigungs-Kennwort (notification_password)', 'wpsg'), $view['notification_password'], ['readonly' => true]); ?>
|
|
|
14 |
<?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_paywindow_page_error', __('Fehlerseite', 'wpsg'), $view['arPages'], $this->get_option('wpsg_mod_micropayment_paywindow_page_error'), array('help' => 'wpsg_mod_micropayment_paywindow_page_error')); ?>
|
7753 |
daniel |
15 |
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_paytitle', __('Titel der Zahlung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_paytitle'), ['placeholder' => $view['default_pay_title'], 'hint' => __('Maximal 150 Zeichen', 'wpsg')]); ?>
|
7756 |
daniel |
16 |
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_paytext', __('Text der Zahlung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_paytext'), ['placeholder' => $view['default_pay_text'], 'hint' => __('Maximal 250 Zeichen', 'wpsg')]); ?>
|
7753 |
daniel |
17 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_paywindow_sandbox', __('Testmodus', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_sandbox')); ?>
|
7755 |
daniel |
18 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_autorun', __('Zahlung sofort starten', 'wpsg'), $this->get_option('wpsg_mod_micropayment_autorun')); ?>
|
7753 |
daniel |
19 |
|
|
|
20 |
<br />
|
|
|
21 |
|
|
|
22 |
<?php foreach ($view['arPaymentWindow'] as $pw_key => $pw) { ?>
|
|
|
23 |
|
7754 |
daniel |
24 |
<?php echo wpsg_drawForm_AdminboxStart($pw['title'], $pw_key, ['collapsable' => true, 'collapsed' => (($this->get_option('wpsg_mod_micropayment_paywindow_'.$pw_key.'_activ') === '1')?false:true)]); ?>
|
7753 |
daniel |
25 |
|
|
|
26 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_paywindow_'.$pw_key.'_activ', __('Zahlungsart aktiv', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_'.$pw_key.'_activ'), []); ?>
|
|
|
27 |
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_'.$pw_key.'_title', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_'.$pw_key.'_title'), [
|
|
|
28 |
'help' => 'wpsg_mod_micropayment_paywindow_name',
|
|
|
29 |
'placeholder' => __($pw['title'], 'wpsg')
|
|
|
30 |
]); ?>
|
|
|
31 |
<?php echo wpsg_drawForm_Textarea('wpsg_mod_micropayment_paywindow_'.$pw_key.'_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_'.$pw_key.'_hint'), array('help' => 'wpsg_mod_micropayment_paywindow_hint')); ?>
|
|
|
32 |
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_'.$pw_key.'_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_'.$pw_key.'_logo'), array('help' => 'wpsg_mod_micropayment_paywindow_logo')); ?>
|
|
|
33 |
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_'.$pw_key.'_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_micropayment_paywindow_'.$pw_key.'_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_mod_micropayment_paywindow_gebuehr')); ?>
|
|
|
34 |
<?php echo wpsg_drawForm_Select('wpsg_mod_micropayment_paywindow_'.$pw_key.'_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_micropayment_paywindow_'.$pw_key.'_mwst'), array('help' => 'wpsg_mod_micropayment_paywindow_mwst')); ?>
|
|
|
35 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_paywindow_'.$pw_key.'_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_'.$pw_key.'_mwstland'), array('help' => 'wpsg_mod_micropayment_paywindow_mwstland')); ?>
|
|
|
36 |
|
|
|
37 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
|
|
38 |
|
|
|
39 |
<?php } ?>
|