Subversion Repositories wpShopGermany4

Rev

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) { ?>
6332 hartmut 9
 
1230 daniel 10
<?php foreach ($this->view['wpsg_mod_productvars']['data'] as $pv) { ?>
6332 hartmut 11
<div class="product_info">
12
	<div
13
	<?php if ($this->view['$bPicture'] == true) { ?>class="titlep"><?php } else { ?>class="title"><?php } ?>
14
		<?php echo __($pv['name'], 'wpsg'); ?><?php if ($pv['pflicht'] == '1') { ?><span class="wpsg_required">*</span><?php } ?>
15
	</div>
16
	<div class="valuel">
17
		<?php if ($pv['typ'] == '1') { // Auswahlfeld ?>
1230 daniel 18
			<?php if ($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']] == 'not_set') { ?>
19
			<?php echo __('Nicht angegeben', 'wpsg'); ?>
20
			<?php } else { ?>
21
			<?php echo wpsg_hspc($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?>
22
			<?php } ?>
23
		<?php } else if ($pv['typ'] == '2') { // Textfeld ?>
24
			<?php echo wpsg_hspc($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?>
25
		<?php } else if ($pv['typ'] == '3') { // Checkbox ?>
26
			<?php if ($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']] == '1') { ?>
27
			<?php echo __('Ja', 'wpsg'); ?>
28
			<?php } else { ?>
29
			<?php echo __('Nein', 'wpsg'); ?>
30
			<?php } ?>
7824 daniel 31
		<?php } else if ($pv['typ'] == '4') { // mehrzeiliges Textfeld ?>
32
			<?php echo nl2br(wpsg_hspc($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']])); ?>
1230 daniel 33
		<?php } ?>
6332 hartmut 34
	</div>
35
	<div class="dummyr">
36
		<?php echo __('&nbsp;'); ?>
37
	</div>
38
 
39
</div>
1230 daniel 40
<?php } ?>
41
<?php } ?>