summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2016-11-02 09:24:20 +0000
committerhartmut <noreply@maennchen1.de>2016-11-02 09:24:20 +0000
commitc6dc4a9a4933ef08285a4e32b031f1eb1251c051 (patch)
treecde4a6ebc0ce13cd1558362f5f12b1850a2ac3e3 /views
parent2877078b06cad41ea29da4365879309cf557e30f (diff)
Änderungen Targobank
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5888 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
-rw-r--r--views/mods/mod_targo/order_done.phtml6
-rw-r--r--views/mods/mod_targo/settings_edit.phtml4
2 files changed, 5 insertions, 5 deletions
diff --git a/views/mods/mod_targo/order_done.phtml b/views/mods/mod_targo/order_done.phtml
index eb7be78..67bcc27 100644
--- a/views/mods/mod_targo/order_done.phtml
+++ b/views/mods/mod_targo/order_done.phtml
@@ -6,11 +6,11 @@
if ($this->get_option('wpsg_mod_targo_url_use') == 0)
{
- $url = $this->get_option('wpsg_mod_targo_url_test');
+ $url = $this->get_option('wpsg_mod_targo_url_live');
}
else
{
- $url = $this->get_option('wpsg_mod_targo_url_live');
+ $url = $this->get_option('wpsg_mod_targo_url_test');
}
?>
@@ -57,7 +57,7 @@
<input type="text" id="amount" name="amount" value="<?php echo $brutto;?>" placeholder="amount"><br />
<input type="text" id="dealerID" name="dealerID" value="<?php echo $this->get_option('wpsg_mod_targo_dealerid');?>" placeholder="dealerID"><br />
<input type="text" id="dealerText" name="dealerText" value="<?php echo $this->view['targoLink'];?>" placeholder="dealerText"><br />
-<input type="text" id="documentno" name="documentno" value="" placeholder="documentno"><br />
+<input type="text" id="documentno" name="documentno" value="<?php echo $this->view['o_id'];?>" placeholder="documentno"><br />
<b>Optionale Daten für Targobank</b><br />
diff --git a/views/mods/mod_targo/settings_edit.phtml b/views/mods/mod_targo/settings_edit.phtml
index f0c4fbf..412850b 100644
--- a/views/mods/mod_targo/settings_edit.phtml
+++ b/views/mods/mod_targo/settings_edit.phtml
@@ -22,9 +22,9 @@
<br />
-<?php echo wpsg_drawForm_Input('wpsg_mod_targo_url_test', __('Targo-URL-Testsystem', 'wpsg'), $this->get_option('wpsg_mod_targo_url_test'), array('help' => 'wpsg_mod_targo_url_test')); ?>
+<?php echo wpsg_drawForm_Input('wpsg_mod_targo_url_test', __('Targo-URL-Sandbox', 'wpsg'), $this->get_option('wpsg_mod_targo_url_test'), array('help' => 'wpsg_mod_targo_url_test')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_url_live', __('Targo-URL-Livesystem', 'wpsg'), $this->get_option('wpsg_mod_targo_url_live'), array('help' => 'wpsg_mod_targo_url_live')); ?>
-<?php echo wpsg_drawForm_Checkbox('wpsg_mod_targo_url_use', __('Targo-URL-Livesystem benutzen', 'wpsg'), $this->get_option('wpsg_mod_targo_url_use'), array('help' => 'wpsg_mod_targo_url_use')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_targo_url_use', __('Targo-URL-Sandbox benutzen', 'wpsg'), $this->get_option('wpsg_mod_targo_url_use'), array('help' => 'wpsg_mod_targo_url_use')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_koop_id', __('Targo-Koop-ID', 'wpsg'), $this->get_option('wpsg_mod_targo_koop_id'), array('help' => 'wpsg_mod_targo_koop_id')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_dealerid', __('Targo-Dealer-ID', 'wpsg'), $this->get_option('wpsg_mod_targo_dealerid'), array('help' => 'wpsg_mod_targo_dealerid')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_targo_hashkey', __('Targo-Hash-Key', 'wpsg'), $this->get_option('wpsg_mod_targo_hashkey'), array('help' => 'wpsg_mod_targo_hashkey')); ?>