Subversion Repositories wpShopGermany4

Rev

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

Rev Author Line No. Line
1230 daniel 1
<?php
2
 
3
	/**
4
	 * Template für eine Produktzeile bei der Bestellzusammenfassung
5
	 */
6
 
7
?>
8
<?php if (is_array($this->view['wpsg_mod_productvars']['data']) && sizeof($this->view['wpsg_mod_productvars']['data']) > 0) { ?>
9
<?php foreach ($this->view['wpsg_mod_productvars']['data'] as $pv) { ?>
3464 daniel 10
<tr class="wpsg_<?php echo (($this->view['wpsg_mod_productvars']['i'] == 0)?'odd':'even'); ?>">
1230 daniel 11
	<td><?php echo __($pv['name'], 'wpsg'); ?>:</td>
4097 daniel 12
	<td class="wpsg_cell_gesamtpreis" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'2':'1'); ?>">
1230 daniel 13
		<?php if ($pv['typ'] == '1') { // Auswahl ?>
14
			<?php if ($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']] == 'not_set') { ?>
15
			<?php echo __('Nicht angegeben', 'wpsg'); ?>
16
			<?php } else { ?>
17
			<?php echo wpsg_hspc($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?>
18
			<?php } ?>
19
		<?php } else if ($pv['typ'] == '2') { // Textfeld ?>
20
			<?php echo wpsg_hspc($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?>
21
		<?php } else if ($pv['typ'] == '3') { // Checkbox ?>
22
			<?php if ($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']] == '1') { ?>
23
			<?php echo __('Ja', 'wpsg'); ?>
24
			<?php } else { ?>
25
			<?php echo __('Nein', 'wpsg'); ?>
26
			<?php } ?>
27
		<?php } ?>
28
	</td>
29
</tr>
30
<?php } ?>
31
<?php } ?>