Subversion Repositories wpShopGermany4

Rev

Rev 4943 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3605 daniel 1
<div class="wpsg_mod_wirecard_hint">
3697 daniel 2
	<?php echo __($this->get_option('wpsg_mod_wirecard_hint'), 'wpsg'); ?>
3605 daniel 3
	<?php if (wpsg_isSizedArray($this->view['wpsg_mod_wirecard']['arPaymentTypes']) && sizeof($this->view['wpsg_mod_wirecard']['arPaymentTypes']) > 1) { ?>
4
	<br /><br />
5
	<label for="wpsg_mod_wirecard_paymentType"><?php echo __('Zahlungsart', 'wpsg'); ?>:</label>
6
	<select name="wpsg_mod_wirecard_paymentType" class="wpsg_mod_wirecard_paymentType">
7
		<?php foreach ($this->view['wpsg_mod_wirecard']['arPaymentTypes'] as $payment_key => $payment_name) { ?>
8
		<option <?php echo (($this->view['wpsg_mod_wirecard']['paymentTypeSet'] == $payment_key)?'selected="selected"':''); ?> value="<?php echo $payment_key; ?>"><?php echo $payment_name; ?></option>
9
		<?php } ?>
10
	</select><br />
11
	<?php } else {  ?>
4022 daniel 12
	<input type="hidden" name="wpsg_mod_wirecard_paymentType" value="<?php $arTypeKeys = array_keys($this->view['wpsg_mod_wirecard']['arPaymentTypes']); echo $arTypeKeys[0]; ?>" />
3605 daniel 13
	<?php } ?>
14
</div>