Subversion Repositories wpShopGermany4

Rev

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

Rev 5261 Rev 5779
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
3
	/**
3
 /**
4
	 * Template für die Registrierung während des Checkouts
4
  * Template für die Registrierung während des Checkouts
5
	 * wird von checkout.phtml eingebunden
5
  * wird von checkout.phtml eingebunden
6
	 */
6
  */
7
 
7
 
8
?>
8
?>
9
<div class="wpsg_checkoutblock">
9
<label for="checkout_login" style="line-height:35px; margin-top:25px; cursor:pointer;">    
10
	<label for="wpsg_mod_kundenverwaltung_pwd1"><?php echo __("Passwort", "wpsg"); ?>
10
	<?php /* display:none, bis Option aktiv */ ?>   
11
	<?php if ($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1') { ?><span class="wpsg_required">*</span><?php } ?>:
11
  	<input <?php echo ((in_array("mod_kundenverwaltung_pwd1", (array)$this->view['error']))?'checked="checked"':''); ?> type="checkbox" id="checkout_login" value="" onclick="jQuery('#checkout_login_fields').toggle();">&nbsp;
12
	</label>
-
 
13
	<input class="wpsg_checkout <?php echo (($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1')?'validate[required]':''); ?> <?php echo ((in_array("mod_kundenverwaltung_pwd1", (array)$this->view['error']))?'wpsg_error':''); ?>" type="password" id="mod_kundenverwaltung_pwd1" name="wpsg[mod_kundenverwaltung][pwd1]" value="" />			
12
 <span class="wpsg-checkbox-label">Ich möchte ein Kundenkonto anlegen.</span>
14
</div>
13
</label>         
15
 
14
 
-
 
15
<?php /* aktiv bei Registrierungszwang - aktiv bei Fehlermeldung */ ?>
-
 
16
<div id="checkout_login_fields" style="display:<?php echo ((in_array("mod_kundenverwaltung_pwd1", (array)$this->view['error']))?'block':'none'); ?>;">    
16
<div class="wpsg_checkoutblock">		
17
 <div class="wpsg_checkoutblock">
17
	<label for="wpsg_mod_kundenverwaltung_pwd2"><?php echo __("Passwort wiederholen", "wpsg"); ?>
18
  <label for="wpsg_mod_kundenverwaltung_pwd1"><?php echo __("Passwort", "wpsg"); ?>
18
	<?php if ($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1') { ?><span class="wpsg_required">*</span><?php } ?>:
19
  <?php if ($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1') { ?><span class="wpsg_required">*</span><?php } ?>:
19
	</label>
20
  </label>
20
	<input class="wpsg_checkout <?php echo (($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1')?'validate[required]':''); ?> <?php echo ((in_array("mod_kundenverwaltung_pwd2", (array)$this->view['error']))?'wpsg_error':''); ?>" type="password" id="wpsg_mod_kundenverwaltung_pwd2" name="wpsg[mod_kundenverwaltung][pwd2]" value="" />
21
  <input class="wpsg_checkout <?php echo (($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1')?'validate[required]':''); ?> <?php echo ((in_array("mod_kundenverwaltung_pwd1", (array)$this->view['error']))?'wpsg_error':''); ?>" type="password" id="mod_kundenverwaltung_pwd1" name="wpsg[mod_kundenverwaltung][pwd1]" value="" />   
21
</div>
22
 </div>
22
 
23
 
23
<div class="wpsg_clear"></div>
-
 
24
24
 <div class="wpsg_checkoutblock">  
-
 
25
  <label for="wpsg_mod_kundenverwaltung_pwd2"><?php echo __("Passwort wiederholen", "wpsg"); ?>
-
 
26
  <?php if ($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1') { ?><span class="wpsg_required">*</span><?php } ?>:
-
 
27
  </label>
-
 
28
  <input class="wpsg_checkout <?php echo (($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1')?'validate[required]':''); ?> <?php echo ((in_array("mod_kundenverwaltung_pwd2", (array)$this->view['error']))?'wpsg_error':''); ?>" type="password" id="wpsg_mod_kundenverwaltung_pwd2" name="wpsg[mod_kundenverwaltung][pwd2]" value="" />
-
 
29
 </div>
-
 
30
 
-
 
31
 <div class="wpsg_clear"></div>
-
 
32
 
-
 
33
</div>
-
 
34
25
35