Subversion Repositories wpShopGermany4

Rev

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

Rev 7247 Rev 7253
Line 106... Line 106...
106
				
106
				
107
			<?php if ($this->view['pflicht']['land'] != '2') { ?>
107
			<?php if ($this->view['pflicht']['land'] != '2') { ?>
108
			<div class="wpsg_checkoutblock">
108
			<div class="wpsg_checkoutblock">
109
				<label for="shipping_land" class="wpsg_checkout"><?php echo __("Land:", "wpsg"); ?>
109
				<label for="shipping_land" class="wpsg_checkout"><?php echo __("Land:", "wpsg"); ?>
110
					<?php if ($this->view['pflicht']['land'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
110
					<?php if ($this->view['pflicht']['land'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
111
				</label>					
111
				</label>				
112
				<select name="wpsg[checkout][shipping_land]" class="<?php echo (($this->view['pflicht']['land'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_land", (array)$this->view['error']))?'wpsg_error':''); ?>" id="shipping_land">
112
				<select name="wpsg[checkout][shipping_land]" class="<?php echo (($this->view['pflicht']['land'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_land", (array)$this->view['error']))?'wpsg_error':''); ?>" id="shipping_land">
113
					<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
113
					<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
114
					<?php foreach ($this->view['laender'] as $l) { ?>
114
					<?php foreach ($this->view['laender'] as $l) { ?>
115
					<option value="<?php echo $l['id']; ?>" <?php echo (($l['id'] == $this->view['basket']['checkout']['shipping_land'])?'selected="selected"':''); ?>><?php echo wpsg_hspc($l['name']); ?></option>
115
					<option value="<?php echo $l['id']; ?>" <?php echo (($l['id'] == $this->view['basket']['checkout']['shipping_land'])?'selected="selected"':''); ?>><?php echo wpsg_hspc($l['name']); ?></option>
116
					<?php } ?>
116
					<?php } ?>
Line 154... Line 154...
154
				jQuery(document).ready(function()
154
				jQuery(document).ready(function()
155
				{	
155
				{	
156
					
156
					
157
					view_checkout_shippingadresss();
157
					view_checkout_shippingadresss();
158
 
158
 
159
					land = <?php if (wpsg_isSizedInt($this->view['basket']['checkout']['land'])) echo $this->view['basket']['checkout']['land'];
159
					land = <?php if (wpsg_isSizedInt($this->view['basket']['checkout']['shipping_land'])) echo $this->view['basket']['checkout']['shipping_land'];
160
					else echo $this->get_option('wpsg_defaultland'); ?>;
160
					else echo $this->get_option('wpsg_defaultland'); ?>;
161
					jQuery('#shipping_land').val(land);
161
					jQuery('#shipping_land').val(land);
162
					
162
					
163
				});
163
				});
164
				
164