1067 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für den ersten Schritt der Kasse
|
|
|
5 |
* Kundendaten etc.
|
|
|
6 |
*/
|
|
|
7 |
|
|
|
8 |
//wpsg_debug($this->view);
|
|
|
9 |
|
|
|
10 |
?>
|
3444 |
daniel |
11 |
<script type="text/javascript">/* <![CDATA[ */
|
1306 |
daniel |
12 |
|
|
|
13 |
jQuery(document).ready(function() {
|
2330 |
daniel |
14 |
|
2803 |
daniel |
15 |
<?php if ($this->get_option('wpsg_form_validation') == '1') { ?>
|
|
|
16 |
|
2330 |
daniel |
17 |
if (typeof jQuery.validationEngine == "object")
|
|
|
18 |
{
|
|
|
19 |
|
2803 |
daniel |
20 |
jQuery("#form-step2").validationEngine('attach', {promptPosition : "bottomLeft", scroll: false});
|
1306 |
daniel |
21 |
|
2330 |
daniel |
22 |
jQuery('.wpsg_mod_kundenverwaltung_login').bind('click', function(){
|
2927 |
daniel |
23 |
jQuery("#form-step2").validationEngine('detach');
|
2330 |
daniel |
24 |
});
|
|
|
25 |
|
|
|
26 |
}
|
1306 |
daniel |
27 |
|
2803 |
daniel |
28 |
<?php } else if ($this->get_option('wpsg_form_validation') == '2') { ?>
|
|
|
29 |
|
|
|
30 |
jQuery.validator.addMethod("cRequired", jQuery.validator.methods.required, "<?php echo __('Dieses Feld ist ein Pflichtfeld.', 'wpsg'); ?>");
|
|
|
31 |
jQuery.validator.addClassRules('validate[required]', { cRequired: true } );
|
|
|
32 |
jQuery("#form-step2").validate( {
|
|
|
33 |
ignore: '',
|
|
|
34 |
errorClass: 'wpsg_error',
|
|
|
35 |
onsubmit: false,
|
|
|
36 |
showErrors: function(errorMap, errorList) {
|
|
|
37 |
|
|
|
38 |
this.defaultShowErrors();
|
|
|
39 |
|
|
|
40 |
}
|
|
|
41 |
} );
|
|
|
42 |
|
|
|
43 |
jQuery('#wpsg_checkout2button').bind('click', function() {
|
3021 |
daniel |
44 |
|
|
|
45 |
var bReturn = jQuery('#form-step2').validate().form();
|
|
|
46 |
if (jQuery('#form-step2 input.wpsg_error').length > 0) jQuery('#form-step2 input.wpsg_error')[0].focus();
|
|
|
47 |
return bReturn;
|
|
|
48 |
|
2803 |
daniel |
49 |
} );
|
|
|
50 |
|
|
|
51 |
<?php } ?>
|
3444 |
daniel |
52 |
|
|
|
53 |
jQuery('.wpsg_checkout input').bind('keyup', function(e) {
|
|
|
54 |
|
|
|
55 |
if(e.keyCode == 13)
|
|
|
56 |
{
|
|
|
57 |
jQuery('#wpsg_checkout2button').click();
|
|
|
58 |
}
|
|
|
59 |
|
|
|
60 |
} );
|
2803 |
daniel |
61 |
|
1306 |
daniel |
62 |
} );
|
|
|
63 |
|
3444 |
daniel |
64 |
/* ]]> */</script>
|
1306 |
daniel |
65 |
|
3444 |
daniel |
66 |
<div class="wpsg wpsg_checkout">
|
2792 |
daniel |
67 |
|
1067 |
daniel |
68 |
<?php echo $this->writeFrontendMessage(); ?>
|
2792 |
daniel |
69 |
|
5201 |
daniel |
70 |
<?php $GLOBALS['step'] = 2; $this->render(WPSG_PATH_VIEW.'/warenkorb/progress.phtml'); ?>
|
5013 |
daniel |
71 |
|
1403 |
daniel |
72 |
<form id="form-step2" method="post" action="<?php echo $this->getURL(wpsg_ShopController::URL_BASKET); ?>" enctype="multipart/form-data">
|
1067 |
daniel |
73 |
|
|
|
74 |
<?php /* Einbindung des Logins im Checokut */ ?>
|
|
|
75 |
<?php $this->callMod('wpsg_mod_kundenverwaltung', 'checkout_login'); ?>
|
|
|
76 |
|
2792 |
daniel |
77 |
<div class="wpsg_box" id="wpsg_box_kundendaten">
|
3444 |
daniel |
78 |
|
3460 |
daniel |
79 |
<h2><?php echo __('Kundendaten', 'wpsg'); ?></h2>
|
|
|
80 |
|
|
|
81 |
<div class="wpsg_spacer"></div>
|
1131 |
daniel |
82 |
|
2792 |
daniel |
83 |
<div class="wpsg_inner">
|
1131 |
daniel |
84 |
|
4159 |
thomas |
85 |
<div class="wpsg_checkoutblock" id="wpsg_firma">
|
2792 |
daniel |
86 |
<label for="wpsg_firma"><?php echo __("Firma", "wpsg"); ?>
|
|
|
87 |
<?php if ($this->view['pflicht']['firma'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
88 |
</label>
|
|
|
89 |
<input class="<?php echo (($this->view['pflicht']['firma'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("firma", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_firma" name="wpsg[checkout][firma]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['firma']); ?>" />
|
|
|
90 |
</div>
|
|
|
91 |
|
4159 |
thomas |
92 |
<div class="wpsg_checkoutblock" id="wpsg_anrede">
|
2792 |
daniel |
93 |
<label for="wpsg_title"><?php echo __('Anrede', 'wpsg'); ?>
|
|
|
94 |
<?php if ($this->view['pflicht']['anrede'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:</label>
|
|
|
95 |
<select class="<?php echo (($this->view['pflicht']['anrede'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("title", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_title" name="wpsg[checkout][title]">
|
|
|
96 |
<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
|
|
|
97 |
<?php foreach (explode("|", $this->view['pflicht']['anrede_auswahl']) as $t) { ?>
|
|
|
98 |
<option value="<?php echo wpsg_hspc($t); ?>" <?php echo (($this->view['basket']['checkout']['title'] == $t)?'selected="selected"':''); ?>><?php echo $t; ?></option>
|
|
|
99 |
<?php } ?>
|
|
|
100 |
</select>
|
|
|
101 |
</div>
|
|
|
102 |
|
4159 |
thomas |
103 |
<div class="wpsg_checkoutblock" id="wpsg_vorname">
|
2792 |
daniel |
104 |
<label for="vname" class="wpsg_checkout"><?php echo __("Vorname", "wpsg"); ?>
|
|
|
105 |
<?php if ($this->view['pflicht']['vname'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
106 |
</label>
|
|
|
107 |
<input class="<?php echo (($this->view['pflicht']['vname'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("vname", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="vname" name="wpsg[checkout][vname]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['vname']); ?>" />
|
|
|
108 |
</div>
|
1131 |
daniel |
109 |
|
4159 |
thomas |
110 |
<div class="wpsg_checkoutblock" id="wpsg_name">
|
2792 |
daniel |
111 |
<label for="name" class="wpsg_checkout"><?php echo __("Name", "wpsg"); ?>
|
2880 |
daniel |
112 |
<?php if ($this->view['pflicht']['name'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
2792 |
daniel |
113 |
</label>
|
|
|
114 |
<input class="<?php echo (($this->view['pflicht']['name'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("name", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="name" name="wpsg[checkout][name]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['name']); ?>" />
|
|
|
115 |
</div>
|
|
|
116 |
|
4159 |
thomas |
117 |
<div class="wpsg_checkoutblock" id="wpsg_email">
|
2792 |
daniel |
118 |
<label for="email" class="wpsg_checkout"><?php echo __("E-Mail Adresse", "wpsg"); ?>
|
|
|
119 |
<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
120 |
</label>
|
4904 |
daniel |
121 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['email'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("email", (array)$this->view['error']))?'wpsg_error':''); ?>" type="email" id="email" name="wpsg[checkout][email]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['email']); ?>" />
|
2792 |
daniel |
122 |
</div>
|
|
|
123 |
|
|
|
124 |
<?php if (isset($this->view['pflicht']['emailconfirm']) && $this->view['pflicht']['emailconfirm'] == '1') { ?>
|
4159 |
thomas |
125 |
<div class="wpsg_checkoutblock" id="wpsg_email2">
|
3448 |
daniel |
126 |
<label for="email" class="wpsg_checkout"><?php echo __("E-Mail (Wiederholung)", "wpsg"); ?>
|
2792 |
daniel |
127 |
<?php if ($this->view['pflicht']['email'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
128 |
</label>
|
4904 |
daniel |
129 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['email'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("email", (array)$this->view['error']))?'wpsg_error':''); ?>" type="email" id="email2" name="wpsg[checkout][email2]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['email2']); ?>" />
|
2792 |
daniel |
130 |
</div>
|
1067 |
daniel |
131 |
<?php } ?>
|
2792 |
daniel |
132 |
|
4159 |
thomas |
133 |
<div class="wpsg_checkoutblock" id="wpsg_geburtsdatum">
|
4918 |
thomas |
134 |
<label for="geb" class="wpsg_checkout"><?php echo __('Geburtsdatum (Format: TT.MM.JJJJ)',"wpsg"); ?>
|
2792 |
daniel |
135 |
<?php if ($this->view['pflicht']['geb'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
136 |
</label>
|
4941 |
daniel |
137 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['geb'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("geb", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="geb" name="wpsg[checkout][geb]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['geb']); ?>" />
|
2792 |
daniel |
138 |
</div>
|
|
|
139 |
|
4159 |
thomas |
140 |
<div class="wpsg_checkoutblock" id="wpsg_fax">
|
2792 |
daniel |
141 |
<label for="fax" class="wpsg_checkout"><?php echo __("Fax.", "wpsg"); ?>
|
|
|
142 |
<?php if ($this->view['pflicht']['fax'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
143 |
</label>
|
4904 |
daniel |
144 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['fax'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("fax", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="fax" name="wpsg[checkout][fax]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['fax']); ?>" />
|
2792 |
daniel |
145 |
</div>
|
|
|
146 |
|
4159 |
thomas |
147 |
<div class="wpsg_checkoutblock" id="wpsg_telefon">
|
2792 |
daniel |
148 |
<label for="tel" class="wpsg_checkout"><?php echo __("Tel.", "wpsg"); ?>
|
|
|
149 |
<?php if ($this->view['pflicht']['tel'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
150 |
</label>
|
4904 |
daniel |
151 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['tel'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("tel", (array)$this->view['error']))?'wpsg_error':''); ?>" type="tel" id="tel" name="wpsg[checkout][tel]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['tel']); ?>" />
|
2792 |
daniel |
152 |
</div>
|
1221 |
david |
153 |
|
4159 |
thomas |
154 |
<div class="wpsg_checkoutblock" id="wpsg_strasse">
|
2792 |
daniel |
155 |
<label for="strasse" class="wpsg_checkout"><?php echo __("Strasse Nr.", "wpsg"); ?>
|
|
|
156 |
<?php if ($this->view['pflicht']['strasse'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
157 |
</label>
|
|
|
158 |
<input class="<?php echo (($this->view['pflicht']['strasse'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("strasse", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="strasse" name="wpsg[checkout][strasse]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['strasse']); ?>" />
|
|
|
159 |
</div>
|
|
|
160 |
|
4159 |
thomas |
161 |
<div class="wpsg_checkoutblock" id="wpsg_postleitzahl">
|
2792 |
daniel |
162 |
<label for="plz" class="wpsg_checkout"><?php echo __("Postleitzahl", "wpsg"); ?>
|
|
|
163 |
<?php if ($this->view['pflicht']['plz'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
164 |
</label>
|
4904 |
daniel |
165 |
<input class="wpsg_input_text <?php echo (($this->view['pflicht']['plz'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("plz", (array)$this->view['error']))?'wpsg_error':''); ?>" type="number" id="plz" name="wpsg[checkout][plz]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['plz']); ?>" />
|
2792 |
daniel |
166 |
</div>
|
|
|
167 |
|
4159 |
thomas |
168 |
<div class="wpsg_checkoutblock" id="wpsg_ort">
|
4311 |
daniel |
169 |
<label for="ort" class="wpsg_checkout"><?php echo __("Ort", "wpsg"); ?>
|
2792 |
daniel |
170 |
<?php if ($this->view['pflicht']['ort'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
171 |
</label>
|
|
|
172 |
<input class="<?php echo (($this->view['pflicht']['ort'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("ort", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="ort" name="wpsg[checkout][ort]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['ort']); ?>" />
|
|
|
173 |
</div>
|
|
|
174 |
|
4159 |
thomas |
175 |
<div class="wpsg_checkoutblock" id="wpsg_land">
|
2792 |
daniel |
176 |
<label for="wpsg_land" class="wpsg_checkout"><?php echo __("Land", "wpsg"); ?>
|
|
|
177 |
<?php if ($this->view['pflicht']['land'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
178 |
</label>
|
|
|
179 |
<select name="wpsg[checkout][land]" class="<?php echo (($this->view['pflicht']['land'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("land", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_land">
|
|
|
180 |
<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
|
|
|
181 |
<?php foreach ($this->view['laender'] as $l) { ?>
|
3574 |
daniel |
182 |
<option value="<?php echo wpsg_hspc($l['id']); ?>" <?php echo (($l['id'] == $this->view['basket']['checkout']['land'])?'selected="selected"':((!wpsg_isSizedInt($this->view['basket']['checkout']['land']) && $this->get_option('wpsg_defaultland') == $l['id'])?'selected="selected"':'')); ?>><?php echo wpsg_hspc(__($l['name'], 'wpsg')); ?></option>
|
2792 |
daniel |
183 |
<?php } ?>
|
|
|
184 |
</select>
|
|
|
185 |
</div>
|
|
|
186 |
|
4159 |
thomas |
187 |
<div class="wpsg_checkoutblock" id="wpsg_ustidnr">
|
2792 |
daniel |
188 |
<label for="wpsg_ustidnr" class="wpshopgermany_checkout"><?php echo __("UStIdNr.", "wpsg"); ?>
|
|
|
189 |
<?php if ($this->view['pflicht']['ustidnr'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
|
|
190 |
</label>
|
|
|
191 |
<input class="<?php echo (($this->view['pflicht']['ustidnr'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("ustidnr", (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[checkout][ustidnr]" value="<?php echo htmlspecialchars($this->view['basket']['checkout']['ustidnr']); ?>" />
|
|
|
192 |
</div>
|
|
|
193 |
|
|
|
194 |
<?php /* Automatische Einbindung der benutzerdefinierten Felder */ ?>
|
|
|
195 |
<?php if ($this->get_option('wpsg_kundenvariablen_show') == '1') { ?>
|
|
|
196 |
<?php foreach ((array)$this->view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?>
|
|
|
197 |
<div class="wpsg_checkoutblock">
|
4312 |
daniel |
198 |
<label class="wpsg_cv wpsg_checkout" for="wpsg_cv_<?php echo $c_id; ?>">
|
2792 |
daniel |
199 |
<?php echo wpsg_hspc(__($c['name'], 'wpsg')); ?><?php if ($c['show'] == '0') { ?> <span class="wpsg_required">*</span><?php } ?>:
|
|
|
200 |
<?php if ($c['typ'] == '0') { // Textfeld ?>
|
|
|
201 |
<input class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> <?php echo ((in_array("custom_".$c_id, (array)$this->view['error']))?'wpsg_error':''); ?>" name="wpsg[checkout][custom][<?php echo $c_id; ?>]" type="text" value="<?php echo wpsg_hspc($this->view['basket']['checkout']['custom'][$c_id]); ?>" />
|
|
|
202 |
<?php } else if ($c['typ'] == '1') { $arAuswahl = explode("|", $c['auswahl']); // Auswahlfeld ?>
|
|
|
203 |
<select class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> <?php echo ((in_array("custom_".$c_id, (array)$this->view['error']))?'wpsg_error':''); ?>" name="wpsg[checkout][custom][<?php echo $c_id; ?>]">
|
|
|
204 |
<option value="-1"><?php echo __('Bitte Auswählen', 'wpsg'); ?></option>
|
|
|
205 |
<?php foreach ((array)$arAuswahl as $a) { ?>
|
|
|
206 |
<option value="<?php echo wpsg_hspc($a); ?>" <?php echo (($a == $this->view['basket']['checkout']['custom'][$c_id])?'selected="selected"':''); ?>><?php echo wpsg_hspc($a); ?></option>
|
|
|
207 |
<?php } ?>
|
|
|
208 |
</select>
|
|
|
209 |
<?php } else if ($c['typ'] == '2') { // Checkbox ?>
|
|
|
210 |
<input type="hidden" name="wpsg[checkout][custom][<?php echo $c_id; ?>]" value="0" />
|
|
|
211 |
<input class="<?php echo (($c['show'] == '0')?'validate[required]':''); ?> checkbox" type="checkbox" value="1" name="wpsg[checkout][custom][<?php echo $c_id; ?>]" value="1" <?php echo wpsg_hspc(($this->view['basket']['checkout']['custom'][$c_id] == '1')?'checked="checked"':''); ?> />
|
|
|
212 |
<?php } ?>
|
|
|
213 |
</label>
|
|
|
214 |
</div>
|
|
|
215 |
<?php } } ?>
|
1131 |
daniel |
216 |
<?php } ?>
|
2792 |
daniel |
217 |
<?php /* Automatische Einbindung der benutzerdefinierten Kundenfelder ENDE */ ?>
|
|
|
218 |
<div class="wpsg_clear"></div>
|
|
|
219 |
|
|
|
220 |
<?php $this->callMods('checkout_customer_inner'); ?>
|
|
|
221 |
|
|
|
222 |
</div>
|
|
|
223 |
|
1131 |
daniel |
224 |
</div>
|
2792 |
daniel |
225 |
|
1403 |
daniel |
226 |
<?php $this->callMods('checkout_inner_prebutton', array(&$this->view)); ?>
|
|
|
227 |
|
1306 |
daniel |
228 |
<div class="wpsg_clear"></div>
|
2792 |
daniel |
229 |
|
|
|
230 |
<div class="wpsg_box">
|
3460 |
daniel |
231 |
|
3444 |
daniel |
232 |
<h2><?php echo __('Bestellkommentar', 'wpsg'); ?></h2>
|
3460 |
daniel |
233 |
|
|
|
234 |
<div class="wpsg_spacer"></div>
|
|
|
235 |
|
2792 |
daniel |
236 |
<div class="wpsg_inner wpsg_commentblock">
|
2932 |
daniel |
237 |
<textarea name="wpsg[checkout][comment]" id="wpsg_checkout_comment"><?php echo wpsg_hspc($this->view['basket']['checkout']['comment']); ?></textarea>
|
2792 |
daniel |
238 |
</div>
|
1206 |
daniel |
239 |
</div>
|
|
|
240 |
|
2780 |
daniel |
241 |
<div class="wpsg_mandatoryfield_hint">
|
|
|
242 |
<?php echo wpsg_translate(__('Mit #1# gekennzeichnete Felder sind Pflichtfelder.', 'wpsg'), '<span class="wpsg_required">*</span>'); ?>
|
|
|
243 |
</div>
|
2792 |
daniel |
244 |
|
1067 |
daniel |
245 |
<br />
|
3444 |
daniel |
246 |
|
2792 |
daniel |
247 |
<?php $this->ClearSessionErrors(); ?>
|
3444 |
daniel |
248 |
|
3453 |
daniel |
249 |
<input type="submit" onclick="location.href='<?php echo $this->getURL(wpsg_ShopController::URL_BASKET); ?>'; return false;" class="wpsg_button wpsg_basketbutton" value="<?php echo __('zurück zum Warenkorb', 'wpsg'); ?>" name="wpsg_redirect_basket" />
|
|
|
250 |
<input type="submit" id="wpsg_checkout2button" class="wpsg_button wpsg_checkout2button" value="<?php echo __('weiter', 'wpsg'); ?>" name="wpsg_checkout" />
|
1067 |
daniel |
251 |
|
|
|
252 |
<div class="wpsg_clear"></div>
|
2792 |
daniel |
253 |
|
|
|
254 |
<br />
|
|
|
255 |
|
|
|
256 |
</form>
|
1067 |
daniel |
257 |
|
2792 |
daniel |
258 |
<script type="text/javascript">/* <![CDATA[ */
|
|
|
259 |
|
|
|
260 |
jQuery(document).ready(function() {
|
|
|
261 |
jQuery('#wpsg_checkout_set_comment').bind('change', function() {
|
|
|
262 |
if (jQuery(this).attr('checked') == true || jQuery(this).attr('checked') == "checked") jQuery('#wpsg_checkout_comment').show();
|
|
|
263 |
else jQuery('#wpsg_checkout_comment').hide();
|
|
|
264 |
} );
|
|
|
265 |
} );
|
|
|
266 |
|
|
|
267 |
/* ]]> */</script>
|
1067 |
daniel |
268 |
|
|
|
269 |
</div>
|