Subversion Repositories wpShopGermany4

Rev

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

Rev 6961 Rev 7541
Line 66... Line 66...
66
						</label>
66
						</label>
67
						
67
						
68
						<?php 
68
						<?php 
69
													
69
													
70
							$wpsg_mod_deliverynote_footer = $this->get_option("wpsg_mod_deliverynote_footer");
70
							$wpsg_mod_deliverynote_footer = $this->get_option("wpsg_mod_deliverynote_footer");
-
 
71
		 					
71
		 					if (!is_array($wpsg_mod_deliverynote_footer)) $wpsg_mod_deliverynote_footer = unserialize($this->get_option("wpsg_mod_deliverynote_footer"));
72
							if (!is_array($wpsg_mod_deliverynote_footer)) $wpsg_mod_deliverynote_footer = unserialize($this->get_option("wpsg_mod_deliverynote_footer"));
72
							if (!is_array($wpsg_mod_deliverynote_footer)) $wpsg_mod_deliverynote_footer = Array();
73
							if (!is_array($wpsg_mod_deliverynote_footer)) $wpsg_mod_deliverynote_footer = Array();
73
		
74
							
-
 
75
							$default = $this->get_option('wpsg_mod_deliverynote_foottext_standard');							
-
 
76
							
74
						?>
77
						?>
75
												
78
												
76
						<?php if (sizeof($wpsg_mod_deliverynote_footer) > 0) { ?>				
79
						<?php if (sizeof($wpsg_mod_deliverynote_footer) > 0) { ?>				
77
						<select style="width:300px; float:right;" name="wpsg_mod_deliverynote_select" id="wpsg_mod_deliverynote_select" onchange="jQuery('#wpsg_mod_deliverynote_fusstext').val(this.value);">
80
						<select style="width:300px; float:right;" name="wpsg_mod_deliverynote_select" id="wpsg_mod_deliverynote_select" onchange="jQuery('#wpsg_mod_deliverynote_fusstext').val(this.value);">
78
							<?php foreach ($wpsg_mod_deliverynote_footer as $k => $v) { ?>
81
							<?php foreach ($wpsg_mod_deliverynote_footer as $k => $v) { ?>
79
							<option <?php echo (($this->get_option('wpsg_mod_deliverynote_foottext_standard') == $k)?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($v[1]); ?>"><?php echo wpsg_hspc($v[0]); ?></option>
82
							<option <?php echo ((intval($default) === intval($k))?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($v[1]); ?>"><?php echo wpsg_hspc($v[0]); ?></option>
80
							<?php } ?>
83
							<?php } ?>
81
						</select>
84
						</select>
82
						<?php } ?>
85
						<?php } ?>
83
		
86
		
84
						<div style="clear:both; width:100%; height:5px;"></div>															
87
						<div style="clear:both; width:100%; height:5px;"></div>