Subversion Repositories wpShopGermany4

Rev

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

<?php

        /**
         * Template für die Anzeige der Produktvariablen in den Mails
         */

?><?php if (is_array($this->view['wpsg_mod_productvars']['data']) && sizeof($this->view['wpsg_mod_productvars']['data']) > 0) { ?>
<?php foreach ($this->view['wpsg_mod_productvars']['data'] as $pv) { ?>
     <?php echo __($pv['name'], 'wpsg'); ?>: <?php if ($pv['typ'] == '1') { // Auswahl ?>
<?php if ($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']] == 'not_set') { ?>
<?php echo __('Nicht angegeben', 'wpsg'); ?>
<?php } else { ?>
<?php echo wpsg_hspc($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?>
<?php } ?>
<?php } else if ($pv['typ'] == '2') { // Textfeld ?>
<?php echo wpsg_hspc($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?>
<?php } else if ($pv['typ'] == '3') { // Checkbox ?>
<?php if ($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']] == '1') { ?>
<?php echo __('Ja', 'wpsg'); ?>
<?php } else { ?>
<?php echo __('Nein', 'wpsg'); ?>
<?php } ?>
<?php } ?> 
<?php } ?>
<?php } ?>