Subversion Repositories wpShopGermany4

Rev

Rev 7753 | Rev 7755 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
?>
10
<?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')); ?>
11
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_projectid', __('Project', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_projectid'), array('help' => 'wpsg_mod_micropayment_paywindow_projectid')); ?>
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')]); ?>
16
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_paytext', __('Titel der Zahlung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_paytext'), ['placeholder' => $view['default_pay_text'], 'hint' => __('Maximal 250 Zeichen', 'wpsg')]); ?>
17
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_paywindow_sandbox', __('Testmodus', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_sandbox')); ?>
18
 
19
<br />
20
 
21
<?php foreach ($view['arPaymentWindow'] as $pw_key => $pw) { ?>
22
 
7754 daniel 23
    <?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 24
 
25
        <?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'), []); ?>
26
        <?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_'.$pw_key.'_title', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_'.$pw_key.'_title'), [
27
            'help' => 'wpsg_mod_micropayment_paywindow_name',
28
            'placeholder' => __($pw['title'], 'wpsg')
29
        ]); ?>
30
        <?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')); ?>
31
        <?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')); ?>
32
        <?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')); ?>
33
        <?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')); ?>
34
    <?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')); ?>
35
 
36
    <?php echo wpsg_drawForm_AdminboxEnd(); ?>
37
 
38
<?php } ?>