diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-01-14 14:55:36 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-01-14 14:55:36 +0000 |
| commit | ad405c7045c6e242080ec9d3ce4c9e586b517c4f (patch) | |
| tree | b41905f4d27f3eaaabd5bad3a39f8d3873540b46 /views/mods/mod_wirecard/paymenthint.phtml | |
- Testweise 4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5261 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_wirecard/paymenthint.phtml')
| -rw-r--r-- | views/mods/mod_wirecard/paymenthint.phtml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/views/mods/mod_wirecard/paymenthint.phtml b/views/mods/mod_wirecard/paymenthint.phtml new file mode 100644 index 0000000..7d5b912 --- /dev/null +++ b/views/mods/mod_wirecard/paymenthint.phtml @@ -0,0 +1,14 @@ +<div class="wpsg_mod_wirecard_hint">
+ <?php echo __($this->get_option('wpsg_mod_wirecard_hint'), 'wpsg'); ?>
+ <?php if (wpsg_isSizedArray($this->view['wpsg_mod_wirecard']['arPaymentTypes']) && sizeof($this->view['wpsg_mod_wirecard']['arPaymentTypes']) > 1) { ?>
+ <br /><br />
+ <label for="wpsg_mod_wirecard_paymentType"><?php echo __('Zahlungsart', 'wpsg'); ?>:</label>
+ <select name="wpsg_mod_wirecard_paymentType" class="wpsg_mod_wirecard_paymentType">
+ <?php foreach ($this->view['wpsg_mod_wirecard']['arPaymentTypes'] as $payment_key => $payment_name) { ?>
+ <option <?php echo (($this->view['wpsg_mod_wirecard']['paymentTypeSet'] == $payment_key)?'selected="selected"':''); ?> value="<?php echo $payment_key; ?>"><?php echo $payment_name; ?></option>
+ <?php } ?>
+ </select><br />
+ <?php } else { ?>
+ <input type="hidden" name="wpsg_mod_wirecard_paymentType" value="<?php $arTypeKeys = array_keys($this->view['wpsg_mod_wirecard']['arPaymentTypes']); echo $arTypeKeys[0]; ?>" />
+ <?php } ?>
+</div>
|
