Subversion Repositories wpShopGermany4

Rev

Rev 7844 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7844 Rev 8417
Line 9... Line 9...
9
<?php foreach ($this->view['wpsg_mod_productvars']['data'] as $pv) { ?>
9
<?php foreach ($this->view['wpsg_mod_productvars']['data'] as $pv) { ?>
10
<div class="product_info">
10
<div class="product_info">
11
	<div class="title">
11
	<div class="title">
12
		<?php echo __($pv['name'], 'wpsg'); ?><?php if ($pv['pflicht'] == '1') { ?><span class="wpsg_required">*</span><?php } ?>
12
		<?php echo __($pv['name'], 'wpsg'); ?><?php if ($pv['pflicht'] == '1') { ?><span class="wpsg_required">*</span><?php } ?>
13
	</div>
13
	</div>
14
	<div class="valuel">
14
	<div class="value">
15
		<?php if ($pv['typ'] == '1') { // Auswahlfeld ?>		
15
		<?php if ($pv['typ'] == '1') { // Auswahlfeld ?>		
16
		<select class="<?php echo ((in_array("wpsg_mod_productvars_".$pv['id']."_".$this->view['wpsg_mod_productvars']['p']['product_index'], (array)$this->view['error']))?'wpsg_error':''); ?>" name="wpsg_mod_productvars[<?php echo $pv['id']; ?>][<?php echo $this->view['wpsg_mod_productvars']['p']['product_index']; ?>]">
16
		<select class="<?php echo ((in_array("wpsg_mod_productvars_".$pv['id']."_".$this->view['wpsg_mod_productvars']['p']['product_index'], (array)$this->view['error']))?'wpsg_error':''); ?>" name="wpsg_mod_productvars[<?php echo $pv['id']; ?>][<?php echo $this->view['wpsg_mod_productvars']['p']['product_index']; ?>]">
17
			<option value="not_set"><?php echo __('Bitte wählen', 'wpsg'); ?></option>
17
			<option value="not_set"><?php echo __('Bitte wählen', 'wpsg'); ?></option>
18
			<?php foreach ((array)$pv['auswahl'] as $option) { ?>
18
			<?php foreach ((array)$pv['auswahl'] as $option) { ?>
19
			<option <?php echo ((@wpsg_hspc($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]) == wpsg_hspc($option))?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($option); ?>"><?php echo wpsg_hspc($option); ?></option>
19
			<option <?php echo ((@wpsg_hspc($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]) == wpsg_hspc($option))?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($option); ?>"><?php echo wpsg_hspc($option); ?></option>
Line 29... Line 29...
29
                rows="5"
29
                rows="5"
30
                name="wpsg_mod_productvars[<?php echo $pv['id']; ?>][<?php echo $this->view['wpsg_mod_productvars']['p']['product_index']; ?>]"
30
                name="wpsg_mod_productvars[<?php echo $pv['id']; ?>][<?php echo $this->view['wpsg_mod_productvars']['p']['product_index']; ?>]"
31
                class="<?php echo ((in_array("wpsg_mod_productvars_".$pv['id']."_".$this->view['wpsg_mod_productvars']['p']['product_index'], (array)$this->view['error']))?'wpsg_error':''); ?>"><?php echo @wpsg_hspc($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?></textarea>
31
                class="<?php echo ((in_array("wpsg_mod_productvars_".$pv['id']."_".$this->view['wpsg_mod_productvars']['p']['product_index'], (array)$this->view['error']))?'wpsg_error':''); ?>"><?php echo @wpsg_hspc($this->view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?></textarea>
32
        <?php } ?>
32
        <?php } ?>
33
	</div>
33
	</div>
34
 
-
 
35
</div>
34
</div>
36
<?php } ?>
35
<?php } ?>
37
36