Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Rev 5794 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1067 daniel 1
<?php
2
 
5779 thomas 3
 /**
4
  * Template für die Registrierung während des Checkouts
5
  * wird von checkout.phtml eingebunden
6
  */
1067 daniel 7
 
8
?>
5779 thomas 9
<label for="checkout_login" style="line-height:35px; margin-top:25px; cursor:pointer;">
10
	<?php /* display:none, bis Option aktiv */ ?>
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
 <span class="wpsg-checkbox-label">Ich möchte ein Kundenkonto anlegen.</span>
13
</label>
1131 daniel 14
 
5779 thomas 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'); ?>;">
17
 <div class="wpsg_checkoutblock">
18
  <label for="wpsg_mod_kundenverwaltung_pwd1"><?php echo __("Passwort", "wpsg"); ?>
19
  <?php if ($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1') { ?><span class="wpsg_required">*</span><?php } ?>:
20
  </label>
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="" />
22
 </div>
2791 daniel 23
 
5779 thomas 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>