summaryrefslogtreecommitdiff
path: root/views/mods/mod_wirecard/paymenthint.phtml
blob: 7d5b912c308415eb8b45868622fec9c5f61a0354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>