Subversion Repositories wpShopGermany4

Rev

Rev 3697 | Rev 4943 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<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>