Subversion Repositories wpShopGermany4

Rev

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

Rev 6371 Rev 6803
Line 70... Line 70...
70
				</label>
70
				</label>
71
				<input class="<?php echo (($this->view['pflicht']['ort'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_ort", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_ort" name="wpsg[checkout][shipping_ort]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_ort'])); ?>" />
71
				<input class="<?php echo (($this->view['pflicht']['ort'] != '1')?'validate[required_shipping]':''); ?> wpsg_checkout <?php echo ((in_array("shipping_ort", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="shipping_ort" name="wpsg[checkout][shipping_ort]" value="<?php echo wpsg_hspc(wpsg_getStr($this->view['basket']['checkout']['shipping_ort'])); ?>" />
72
			</div>
72
			</div>
73
				
73
				
74
			<div class="wpsg_checkoutblock">
74
			<div class="wpsg_checkoutblock">
75
				<label for="wpsg_land" class="wpsg_checkout"><?php echo __("Land:", "wpsg"); ?>
75
				<label for="shipping_land" class="wpsg_checkout"><?php echo __("Land:", "wpsg"); ?>
76
					<?php if ($this->view['pflicht']['land'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
76
					<?php if ($this->view['pflicht']['land'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>
77
				</label>					
77
				</label>					
78
				<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">
78
				<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">
79
					<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
79
					<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
80
					<?php foreach ($this->view['laender'] as $l) { ?>
80
					<?php foreach ($this->view['laender'] as $l) { ?>
Line 118... Line 118...
118
		
118
		
119
				jQuery(document).ready(function()
119
				jQuery(document).ready(function()
120
				{	
120
				{	
121
					
121
					
122
					view_checkout_shippingadresss();
122
					view_checkout_shippingadresss();
-
 
123
 
-
 
124
					land = <?php if (wpsg_isSizedInt($this->view['basket']['checkout']['land'])) echo $this->view['basket']['checkout']['land'];
-
 
125
					else echo $this->get_option('wpsg_defaultland'); ?>;
-
 
126
					jQuery('#shipping_land').val(land);
123
					
127
					
124
				});
128
				});
125
				
129
				
126
			/* ]]> */</script>
130
			/* ]]> */</script>
127
		</div>
131
		</div>