1067 |
daniel |
1 |
<?php
|
|
|
2 |
|
5779 |
thomas |
3 |
/**
|
5794 |
thomas |
4 |
* Template für die Registrierung während des Checkouts
|
5779 |
thomas |
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();">
|
5794 |
thomas |
12 |
<span class="wpsg-checkbox-label">Ich möchte ein Kundenkonto anlegen.</span>
|
5779 |
thomas |
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"); ?>
|
5934 |
hartmut |
19 |
<?php if ($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwang') == '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
5779 |
thomas |
20 |
</label>
|
5934 |
hartmut |
21 |
<input class="wpsg_checkout <?php echo (($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwang') == '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="" />
|
5779 |
thomas |
22 |
</div>
|
2791 |
daniel |
23 |
|
5779 |
thomas |
24 |
<div class="wpsg_checkoutblock">
|
|
|
25 |
<label for="wpsg_mod_kundenverwaltung_pwd2"><?php echo __("Passwort wiederholen", "wpsg"); ?>
|
5934 |
hartmut |
26 |
<?php if ($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwang') == '1') { ?><span class="wpsg_required">*</span><?php } ?>:
|
5779 |
thomas |
27 |
</label>
|
5934 |
hartmut |
28 |
<input class="wpsg_checkout <?php echo (($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwang') == '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="" />
|
5779 |
thomas |
29 |
</div>
|
|
|
30 |
|
|
|
31 |
<div class="wpsg_clear"></div>
|
|
|
32 |
|
|
|
33 |
</div>
|