Subversion Repositories wpShopGermany4

Rev

Rev 6005 | Rev 7811 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6005 Rev 6238
Line 60... Line 60...
60
					<?php if (!is_null($arGroup)) { ?><optgroup label="<?php echo $arGroup[$k_group]; ?>"><?php } ?>
60
					<?php if (!is_null($arGroup)) { ?><optgroup label="<?php echo $arGroup[$k_group]; ?>"><?php } ?>
61
				
61
				
62
					<?php foreach ($v_group as $k => $v) { ?>
62
					<?php foreach ($v_group as $k => $v) { ?>
63
					<option <?php 
63
					<option <?php 
64
					
64
					
-
 
65
						if (wpsg_isSizedArray($this->view['field_value']))
-
 
66
						{
-
 
67
							
-
 
68
							echo ((in_array($k, $this->view['field_value']))?'selected="selected"':'');
-
 
69
							
-
 
70
						}
-
 
71
						else
-
 
72
						{
-
 
73
					
65
						if (wpsg_isTrue($this->view['field_config']['noKeys']) && wpsg_isSizedString($v, $this->view['field_value'])) echo ' selected="selected" ';
74
							if (wpsg_isTrue($this->view['field_config']['noKeys']) && wpsg_isSizedString($v, $this->view['field_value'])) echo ' selected="selected" ';						
66
						else echo (($k == $this->view['field_value'])?'selected="selected"':''); 
75
							else echo (($k == $this->view['field_value'])?'selected="selected"':'');
-
 
76
					
-
 
77
						}
67
						
78
						
68
					?> value="<?php 
79
					?> value="<?php 
69
					
80
					
70
						if (wpsg_isTrue($this->view['field_config']['noKeys'])) echo wpsg_hspc($v);
81
						if (wpsg_isTrue($this->view['field_config']['noKeys'])) echo wpsg_hspc($v);
71
						else echo wpsg_hspc($k); 
82
						else echo wpsg_hspc($k);