summaryrefslogtreecommitdiff
path: root/views/mods/mod_securepay/settings_edit.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_securepay/settings_edit.phtml')
-rw-r--r--views/mods/mod_securepay/settings_edit.phtml75
1 files changed, 75 insertions, 0 deletions
diff --git a/views/mods/mod_securepay/settings_edit.phtml b/views/mods/mod_securepay/settings_edit.phtml
new file mode 100644
index 0000000..37501c8
--- /dev/null
+++ b/views/mods/mod_securepay/settings_edit.phtml
@@ -0,0 +1,75 @@
+<?php
+
+ /**
+ * Template für die Einstellungen des SecurePay Moduls
+ */
+
+?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_securepay_sandbox', __('Sandbox Modus', 'wpsg'), $this->get_option('wpsg_mod_securepay_sandbox'), array('help' => 'wpsg_mod_securepay_sandbox')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_securepay_sender', __('Sender ID', 'wpsg'), $this->get_option('wpsg_mod_securepay_sender'), array('help' => 'wpsg_mod_securepay_sender')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_securepay_channelid', __('Channel ID', 'wpsg'), $this->get_option('wpsg_mod_securepay_channelid'), array('help' => 'wpsg_mod_securepay_channelid')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_securepay_userid', __('UserID', 'wpsg'), $this->get_option('wpsg_mod_securepay_userid'), array('help' => 'wpsg_mod_securepay_userid')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_securepay_password', __('Passwort', 'wpsg'), $this->get_option('wpsg_mod_securepay_password'), array('help' => 'wpsg_mod_securepay_password')); ?>
+
+<br />
+
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_securepay_activ', __('Zahlungsart aktiv', 'wpsg'), $this->get_option('wpsg_mod_securepay_activ')); ?>
+<?php /* echo wpsg_drawForm_Select('wpsg_mod_securepay_paymenttypes', __('Zahlungsarten', 'wpsg'), array(
+// 'AMEX' => 'American Express',
+// 'BARPAY' => 'BarPay',
+// 'BOLETO' => 'Boleto',
+// 'CARTEBLEUE' => 'Carte Bleue',
+// 'CHINAUNIONPAY' => 'China UnionPay',
+// 'DANKORT' => 'Dankort',
+// 'DINERS' => 'Diners',
+ 'DIRECTDEBIT_SEPA' => 'Direct Debit Sepa',
+// 'DIRECTDEBIT_SEPA_MIX_DE' => 'Direct Debit Germany and Sepa',
+// 'DIRECTDEBIT_SEPA_MIX_AT' => 'Direct Debit Austria and Sepa',
+// 'DIRECTDEBIT_DE' => 'Direct Debit Germany',
+// 'DIRECTDEBIT_AT' => 'Direct Debit Austria',
+// 'DISCOVER' => 'Discover',
+// 'GIROPAY' => 'Giropay',
+// 'IDEAL' => 'iDeal',
+// 'INVOICE' => 'Invoice',
+// 'JCB' => 'JCB',
+// 'MAESTRO' => 'Maestro',
+ 'MASTER' => 'MasterCard',
+// 'PASTEANDPAY_V' => 'PasteAndPay',
+// 'PAYPAL' => 'PayPal',
+// 'POSTEPAY' => 'PostePay',
+// 'SOFORTUEBERWEISUNG' => 'sofort Überweisung',
+// 'UKASH' => 'Ukash',
+ 'VISA' => 'Visa',
+// 'VISADEBIT' => 'Visa Debit',
+// 'VISAELECTRON' => 'Visa Electron',
+// 'VPAY' => 'V PAY',
+// 'VSTATION_V' => 'Voucher Station',
+// 'AXESS' => 'AXESS',
+// 'BONUS' => 'Bonus',
+// 'MAXIMUM' => 'Maximum',
+// 'WORLD' => 'World',
+// 'CARDFINANS' => 'CardFinans',
+// 'ADVANTAGE' => 'Advantage',
+// 'QOOQO' => 'Qooqo',
+// 'KLARNA_INVOICE' => 'Klarna Invoice',
+// 'KLARNA_INSTALLMENTS' => 'Klarna Installments',
+// 'ASYACARD' => 'AsyaCard'
+), @explode(' ', $this->get_option('wpsg_mod_securepay_paymenttypes')), array('multiple' => '3', 'help' => 'wpsg_mod_securepay_paymenttypes', 'hint' => __('STRG für Mehrfachauswahl', 'wpsg'))); */ ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_securepay_paymenttypes', __('Zahlungsarten', 'wpsg'), $this->get_option('wpsg_mod_securepay_paymenttypes'), array('help' => 'wpsg_mod_securepay_paymenttypes')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_securepay_name', __('Bezeichnung der Zahlungsart', 'wpsg'), $this->get_option('wpsg_mod_securepay_name'), array('help' => 'wpsg_mod_securepay_name')); ?>
+<?php echo wpsg_drawForm_Textarea('wpsg_mod_securepay_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_securepay_hint'), array('help' => 'wpsg_mod_securepay_hint')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_securepay_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_securepay_logo'), array('help' => 'wpsg_mod_securepay_logo')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_securepay_language', __('Sprache', 'wpsg'), array(
+ 'auto' => __('Automatisch', 'wpsg'),
+ 'de' => __('Deutsch', 'wpsg'),
+ 'en' => __('Englisch', 'wpsg')
+), $this->get_option('wpsg_mod_securepay_language'), array('help' => 'wpsg_mod_securepay_language')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_securepay_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_securepay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_securepay_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_securepay_mwst')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_securepay_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_securepay_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?>
+<br />
+
+<?php echo wpsg_drawForm_Select('wpsg_mod_securepay_successPage', __('Seite nach erfolgreicher Zahlung', 'wpsg'), $this->view['wpsg_mod_securepay']['arPages'], $this->get_option('wpsg_mod_securepay_successPage'), array('help' => 'wpsg_mod_securepay_successPage')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_securepay_errorPage', __('Seite nach fehlgeschlagener Zahlung', 'wpsg'), $this->view['wpsg_mod_securepay']['arPages'], $this->get_option('wpsg_mod_securepay_errorPage'), array('help' => 'wpsg_mod_securepay_errorPage')); ?>
+
+<br /><div class="wpsg_hinweis"><?php echo __('Die verfügbaren Zahlungsarten müssen mit <a href="http://www.iw-systeme.de">IW Systeme</a> vereinbart werden.', 'wpsg'); ?></div>