1072 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Einstellungen des Moduls "Sofortüberweisung"
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
|
|
8 |
<script type="text/javascript">
|
|
|
9 |
|
|
|
10 |
var arPagesURL = jQuery.parseJSON('<?php echo json_encode($this->view['pagesurl']); ?>');
|
|
|
11 |
|
|
|
12 |
jQuery(document).ready(function() {
|
|
|
13 |
|
|
|
14 |
jQuery('#wpsg_page_mod_paypal_success').bind('change', function() {
|
|
|
15 |
if (jQuery(this).val() > 0)
|
|
|
16 |
{
|
|
|
17 |
jQuery('#wpsg_mod_su_successurl').val(arPagesURL[jQuery(this).val()]);
|
|
|
18 |
}
|
|
|
19 |
else
|
|
|
20 |
{
|
|
|
21 |
jQuery('#wpsg_mod_su_successurl').val('');
|
|
|
22 |
}
|
|
|
23 |
} );
|
|
|
24 |
|
|
|
25 |
jQuery('#wpsg_page_mod_paypal_error').bind('change', function() {
|
|
|
26 |
if (jQuery(this).val() > 0)
|
|
|
27 |
{
|
|
|
28 |
jQuery('#wpsg_mod_su_errorurl').val(arPagesURL[jQuery(this).val()]);
|
|
|
29 |
}
|
|
|
30 |
else
|
|
|
31 |
{
|
|
|
32 |
jQuery('#wpsg_mod_su_errorurl').val('');
|
|
|
33 |
}
|
|
|
34 |
} );
|
|
|
35 |
|
|
|
36 |
} );
|
|
|
37 |
|
|
|
38 |
</script>
|
|
|
39 |
|
5382 |
daniel |
40 |
<?php echo wpsg_drawForm_Input('wpsg_mod_su_bezeichnung', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_su_bezeichnung'), array('help' => 'wpsg_mod_su_bezeichnung')); ?>
|
1416 |
daniel |
41 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_su_aktiv', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_su_aktiv')); ?>
|
5382 |
daniel |
42 |
<?php echo wpsg_drawForm_Textarea('wpsg_mod_su_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_su_hint'), array('help' => 'wpsg_mod_su_hint')); ?>
|
|
|
43 |
<?php echo wpsg_drawForm_Input('wpsg_mod_su_subject1', __('Betreff für Überweisung (Zeile 1)', 'wpsg'), $this->get_option('wpsg_mod_su_subject1'), array('help' => 'wpsg_mod_su_subject1')); ?>
|
|
|
44 |
<?php echo wpsg_drawForm_Input('wpsg_mod_su_subject2', __('Betreff für Überweisung (Zeile 2)', 'wpsg'), $this->get_option('wpsg_mod_su_subject2'), array('help' => 'wpsg_mod_su_subject2')); ?>
|
1406 |
daniel |
45 |
<br />
|
5382 |
daniel |
46 |
<?php echo wpsg_drawForm_Input('wpsg_mod_su_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_su_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_mod_su_gebuehr')); ?>
|
|
|
47 |
<?php echo wpsg_drawForm_Select('wpsg_mod_su_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_su_mwst'), array('help' => 'wpsg_mod_su_mwst')); ?>
|
|
|
48 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_su_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_su_mwstland'), array('help' => 'wpsg_mod_su_mwstland')); ?>
|
1072 |
daniel |
49 |
|
1406 |
daniel |
50 |
<br />
|
5382 |
daniel |
51 |
<?php echo wpsg_drawForm_Select('wpsg_mod_su_currency', __('Verwendete Währung', 'wpsg'), array('EUR' => __('Euro', 'wpsg'), 'CHF' => __('Schweizer Franken', 'wpsg'), 'GBP' => __('Britische Pfund', 'wpsg')), $this->get_option('wpsg_mod_su_currency'), array('help' => 'wpsg_mod_su_currency')); ?>
|
|
|
52 |
<?php echo wpsg_drawForm_Input('wpsg_mod_su_userid', __('Kunden-Nr für Sofortüberweisung.de', 'wpsg'), $this->get_option('wpsg_mod_su_userid'), array('help' => 'wpsg_mod_su_userid')); ?>
|
|
|
53 |
<?php echo wpsg_drawForm_Input('wpsg_mod_su_projectid', __('Projekt ID für Sofortüberweisung.de', 'wpsg'), $this->get_option('wpsg_mod_su_projectid'), array('help' => 'wpsg_mod_su_projectid')); ?>
|
|
|
54 |
<?php echo wpsg_drawForm_Input('wpsg_mod_su_projectpassword', __('Projekt Passwort', 'wpsg'), $this->get_option('wpsg_mod_su_projectpassword'), array('help' => 'wpsg_mod_su_projectpassword')); ?>
|
|
|
55 |
<?php echo wpsg_drawForm_Input('wpsg_mod_su_noticepassword', __('Benachrichtigungs Passwort', 'wpsg'), $this->get_option('wpsg_mod_su_noticepassword'), array('help' => 'wpsg_mod_su_noticepassword')); ?>
|
|
|
56 |
<?php echo wpsg_drawForm_Select('wpsg_mod_su_language', __('Sprache bei Sofortüberweisung.de', 'wpsg'), array('DE' => __('deutsch', 'wpsg'), 'EN' => __('englisch', 'wpsg'), 'FR' => __('französisch', 'wpsg'), 'NL' => __('niederländisch', 'wpsg')), $this->get_option('wpsg_mod_su_language'), array('help' => 'wpsg_mod_su_language')); ?>
|
|
|
57 |
<?php echo wpsg_drawForm_Select('wpsg_mod_su_hash', __('Verwendetes HASH Verfahren', 'wpsg'), array('md5' => 'MD5', 'sha1' => 'SHA1', 'sha256' => 'SHA256', 'sha512' => 'SHA512'), $this->get_option('wpsg_mod_su_hash'), array('help' => 'wpsg_mod_su_hash')); ?>
|
5877 |
hartmut |
58 |
|
7513 |
daniel |
59 |
<?php echo wpsg_drawForm_Input('wpsg_mod_su_confirmurl', __('URL für HTTP Benachrichtigung', 'wpsg'), $this->view['wpsg_mod_su_confirmurl'], array('help' => 'wpsg_mod_su_confirmurl', 'readonly' => true)); ?>
|
5877 |
hartmut |
60 |
|
1406 |
daniel |
61 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_su_autostart', __('Zahlung sofort starten', 'wpsg'), $this->get_option('wpsg_mod_su_autostart')); ?>
|
1072 |
daniel |
62 |
|