123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <form action="<?php shopp( 'customer.action' ); ?>" method="post" class="shopp validate" autocomplete="off">
-
- <?php if ( shopp( 'customer.password-changed' ) ) : ?>
- <p class="success"><?php _e( 'Your password has been changed successfully.', 'Shopp' ); ?></p>
- <?php endif; ?>
-
- <?php if ( shopp( 'customer.profile-saved' ) && shopp( 'customer.password-change-fail' ) ) : ?>
- <p class="success"><?php _e( 'Your account has been updated.', 'Shopp' ); ?></p>
- <?php endif; ?>
-
- <p>
- <a href="<?php shopp( 'customer.url' ); ?>">« <?php _e( 'Return to Account Management', 'Shopp' ); ?></a>
- </p>
-
- <ul>
- <li>
- <label for="firstname"><?php _e( 'Your Account', 'Shopp' ); ?></label>
- <span>
- <?php shopp( 'customer.firstname', 'required=true&minlength=2&size=8&title=' . __( 'First Name', 'Shopp' ) ); ?>
- <label for="firstname"><?php _e( 'First', 'Shopp' ); ?></label>
- </span>
- <span>
- <?php shopp( 'customer.lastname', 'required=true&minlength=3&size=14&title=' . __( 'Last Name', 'Shopp' ) ); ?>
- <label for="lastname"><?php _e('Last','Shopp'); ?></label>
- </span>
- </li>
- <li>
- <span>
- <?php shopp( 'customer.company', 'size=20&title=' . __( 'Company', 'Shopp' ) ); ?>
- <label for="company"><?php _e( 'Company', 'Shopp' ); ?></label>
- </span>
- </li>
- <li>
- <span>
- <?php shopp( 'customer.phone', 'format=phone&size=15&title=' . __( 'Phone', 'Shopp' ) ); ?>
- <label for="phone"><?php _e( 'Phone', 'Shopp' ); ?></label>
- </span>
- </li>
- <li>
- <span>
- <?php shopp( 'customer.email', 'required=true&format=email&size=30&title=' . __( 'Email', 'Shopp' ) ); ?>
- <label for="email"><?php _e( 'Email', 'Shopp' ); ?></label>
- </span>
- </li>
- <li>
- <div class="inline">
- <label for="marketing"><?php shopp( 'customer.marketing', 'title=' . __( 'I would like to continue receiving e-mail updates and special offers!', 'Shopp' ) ); ?> <?php _e('I would like to continue receiving e-mail updates and special offers!','Shopp'); ?></label>
- </div>
- </li>
- <?php while ( shopp( 'customer.hasinfo' ) ) : ?>
- <li>
- <span>
- <?php shopp( 'customer.info' ); ?>
- <label><?php shopp( 'customer.info', 'mode=name' ); ?></label>
- </span>
- </li>
- <?php endwhile; ?>
- <li>
- <label for="password"><?php _e( 'Change Your Password', 'Shopp' ); ?></label>
- <span>
- <?php shopp( 'customer.password', 'size=14&title=' . __( 'New Password', 'Shopp' ) ); ?>
- <label for="password"><?php _e( 'New Password', 'Shopp' ); ?></label>
- </span>
- <span>
- <?php shopp( 'customer.confirm-password', '&size=14&title=' . __( 'Confirm Password', 'Shopp' ) ); ?>
- <label for="confirm-password"><?php _e('Confirm Password','Shopp'); ?></label>
- </span>
- </li>
- <li id="billing-address-fields">
- <label for="billing-address"><?php _e( 'Billing Address', 'Shopp' ); ?></label>
- <div>
- <?php shopp( 'customer.billing-address', 'title=' . __( 'Billing street address', 'Shopp' ) ); ?>
- <label for="billing-address"><?php _e( 'Street Address', 'Shopp' ); ?></label>
- </div>
- <div>
- <?php shopp( 'customer.billing-xaddress', 'title=' . __( 'Billing address line 2', 'Shopp' ) ); ?>
- <label for="billing-xaddress"><?php _e( 'Address Line 2', 'Shopp' ); ?></label>
- </div>
- <div class="left">
- <?php shopp( 'customer.billing-city', 'title=' . __( 'City billing address', 'Shopp' ) ); ?>
- <label for="billing-city"><?php _e( 'City', 'Shopp' ); ?></label>
- </div>
- <div class="right">
- <?php shopp( 'customer.billing-state', 'title=' . __( 'State/Province/Region billing address', 'Shopp' ) ); ?>
- <label for="billing-state"><?php _e( 'State / Province', 'Shopp' ); ?></label>
- </div>
- <div class="left">
- <?php shopp( 'customer.billing-postcode', 'title=' . __( 'Postal/Zip Code billing address', 'Shopp' ) ); ?>
- <label for="billing-postcode"><?php _e( 'Postal / Zip Code', 'Shopp' ); ?></label>
- </div>
- <div class="right">
- <?php shopp( 'customer.billing-country', 'title=' . __( 'Country billing address', 'Shopp' ) ); ?>
- <label for="billing-country"><?php _e( 'Country', 'Shopp' ); ?></label>
- </div>
- </li>
- <li id="shipping-address-fields">
- <label for="shipping-address"><?php _e( 'Shipping Address', 'Shopp' ); ?></label>
- <div>
- <?php shopp( 'customer.shipping-address', 'title=' . __( 'Shipping street address', 'Shopp' ) ); ?>
- <label for="shipping-address"><?php _e( 'Street Address', 'Shopp' ); ?></label>
- </div>
- <div>
- <?php shopp( 'customer.shipping-xaddress', 'title=' . __( 'Shipping address line 2', 'Shopp' ) ); ?>
- <label for="shipping-xaddress"><?php _e('Address Line 2','Shopp'); ?></label>
- </div>
- <div class="left">
- <?php shopp( 'customer.shipping-city', 'title=' . __( 'City shipping address', 'Shopp' ) ); ?>
- <label for="shipping-city"><?php _e( 'City', 'Shopp' ); ?></label>
- </div>
- <div class="right">
- <?php shopp( 'customer.shipping-state', 'title=' . __( 'State/Provice/Region shipping address', 'Shopp' ) ); ?>
- <label for="shipping-state"><?php _e( 'State / Province', 'Shopp' ); ?></label>
- </div>
- <div class="left">
- <?php shopp( 'customer.shipping-postcode', 'title=' . __( 'Postal/Zip Code shipping address', 'Shopp' ) ); ?>
- <label for="shipping-postcode"><?php _e( 'Postal / Zip Code', 'Shopp' ); ?></label>
- </div>
- <div class="right">
- <?php shopp( 'customer.shipping-country', 'title=' . __( 'Country shipping address', 'Shopp' ) ); ?>
- <label for="shipping-country"><?php _e( 'Country', 'Shopp' ); ?></label>
- </div>
- </li>
- </ul>
-
- <p><?php shopp( 'customer.save-button', 'label=' . __( 'Save', 'Shopp' ) ); ?></p>
-
- <p><a href="<?php shopp( 'customer.url' ); ?>">« <?php _e( 'Return to Account Management', 'Shopp' ); ?></a></p>
-
- </form>
|