diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2020-07-03 12:46:14 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2020-07-03 12:46:14 +0000 |
| commit | 40a44855bf0ca0fbe74bf8f7d6b9f94848e5473c (patch) | |
| tree | 78533fa8717695766400a065c49152679c8daec9 /views | |
| parent | e29fe25d8aa6ec7239f7771775cafdfd49cb1707 (diff) | |
- 5.2.54.2.5
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7755 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
| -rw-r--r-- | views/mods/mod_micropayment_paywindow/order_done.phtml | 12 | ||||
| -rw-r--r-- | views/mods/mod_micropayment_paywindow/settings_edit.phtml | 3 | ||||
| -rw-r--r-- | views/order/view_general.phtml | 12 |
3 files changed, 26 insertions, 1 deletions
diff --git a/views/mods/mod_micropayment_paywindow/order_done.phtml b/views/mods/mod_micropayment_paywindow/order_done.phtml index dd89b77..3a0272b 100644 --- a/views/mods/mod_micropayment_paywindow/order_done.phtml +++ b/views/mods/mod_micropayment_paywindow/order_done.phtml @@ -32,6 +32,18 @@ </p>
+ <?php if ($this->get_option('wpsg_mod_micropayment_autorun') == '1') { ?>
+ <script>
+
+ jQuery(document).ready(function() {
+ window.setTimeout(function() {
+ location.href = "<?php echo $view['url']; ?>";
+ }, 1000);
+ } );
+
+ </script>
+ <?php } ?>
+
<?php } ?>
</div>
\ No newline at end of file diff --git a/views/mods/mod_micropayment_paywindow/settings_edit.phtml b/views/mods/mod_micropayment_paywindow/settings_edit.phtml index edf01d8..2fa7eb5 100644 --- a/views/mods/mod_micropayment_paywindow/settings_edit.phtml +++ b/views/mods/mod_micropayment_paywindow/settings_edit.phtml @@ -7,14 +7,15 @@ $view = $this->view['wpsg_mod_micropayment_paywindow'];
?>
+<?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')); ?>
<?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')); ?>
-<?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')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_notification_url', __('Benachrichtigungs-URL', 'wpsg'), $view['notification_url'], ['readonly' => true]); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_micropayment_paywindow_notification_password', __('Benachrichtigungs-Kennwort (notification_password)', 'wpsg'), $view['notification_password'], ['readonly' => true]); ?>
<?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')); ?>
<?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')]); ?>
<?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')]); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_paywindow_sandbox', __('Testmodus', 'wpsg'), $this->get_option('wpsg_mod_micropayment_paywindow_sandbox')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_micropayment_autorun', __('Zahlung sofort starten', 'wpsg'), $this->get_option('wpsg_mod_micropayment_autorun')); ?>
<br />
diff --git a/views/order/view_general.phtml b/views/order/view_general.phtml index 69e06bf..8dd8d25 100644 --- a/views/order/view_general.phtml +++ b/views/order/view_general.phtml @@ -69,6 +69,18 @@ </form>
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
+<?php echo wpsg_drawForm_AdminboxStart(__('Technische Einstellungen', 'wüsg')); ?>
+<form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=save&edit_id=<?php echo $this->view['oOrder']->id; ?>&noheader=1" enctype="multipart/form-data">
+
+ <?php echo wpsg_drawForm_Checkbox('ext_payed', __('Externe Zahlungseingänge ignorieren', 'wpsg'), wpsg_getStr($this->view['data']['ext_payed'])); ?>
+
+ <?php echo wpsg_drawForm_TextStart(); ?>
+ <input type="submit" class="button button-primary" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" />
+ <?php echo wpsg_drawForm_TextEnd(); ?>
+
+</form>
+<?php echo wpsg_drawForm_AdminboxEnd(); ?>
+
<?php if ($this->hasMod('wpsg_mod_orderupload')) { ?>
<?php echo wpsg_drawForm_AdminboxStart(__('Bestelluploads', 'wpsg')); ?>
|
