| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/a/w/e/awebpaca/boutiques/app/design/frontend/nanou/iphone/template/customer/form/ |
Upload File : |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category design
* @package default_iphone
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
?>
<div class="in-page">
<div class="page-head">
<h3><?php echo $this->__('Edit Account Information') ?></h3>
</div>
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
<form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" id="form-validate">
<?php echo $this->getBlockHtml('formkey')?>
<fieldset class="group-select">
<h4 class="legend"><?php echo $this->__('Account Information') ?></h4>
<ul class="form-list">
<?php /*
<li>
<div class="col2-alt-set">
<div class="col-1"><label for="firstname"><?php echo $this->__('First Name') ?> <span class="required">*</span> </label></div>
<div class="col-2"><input type="text" name="firstname" id="firstname" value="<?php echo $this->htmlEscape($this->getCustomer()->getFirstname()) ?>" title="<?php echo $this->__('First Name') ?>" class="required-entry input-text" /></div>
</div><div class="clear"></div>
</li>
<li>
<div class="col2-alt-set">
<div class="col-1"><label for="lastname"><?php echo $this->__('Last Name') ?> <span class="required">*</span> </label></div>
<div class="col-2"><input type="text" name="lastname" id="lastname" value="<?php echo $this->htmlEscape($this->getCustomer()->getLastname()) ?>" title="<?php echo $this->__('Last Name') ?>" class="required-entry input-text" /></div>
</div><div class="clear"></div>
</li>
*/ ?>
<li>
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getCustomer())->toHtml() ?>
</li>
<li>
<div class="col2-alt-set">
<div class="col-1"><label for="email"><?php echo $this->__('Email Address') ?> <span class="required">*</span> </label></div>
<div class="col-2"><input type="text" name="email" id="email" value="<?php echo $this->htmlEscape($this->getCustomer()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="required-entry validate-email input-text" /></div>
</div><div class="clear"></div>
</li>
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
<?php if ($_dob->isEnabled()): ?>
<li><?php echo $_dob->setDate($this->getCustomer()->getDob())->toHtml() ?></li>
<?php endif ?>
<?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
<?php if ($_taxvat->isEnabled()): ?>
<li><?php echo $_taxvat->setTaxvat($this->getCustomer()->getTaxvat())->toHtml() ?></li>
<?php endif ?>
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
<?php if ($_gender->isEnabled()): ?>
<li><?php echo $_gender->setGender($this->getCustomer()->getGender())->toHtml() ?></li>
<?php endif ?>
</ul>
</fieldset>
<p><input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo $this->__('Change Password') ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> /> <label for="change_password"><?php echo $this->__('Change Password') ?></label></p>
<fieldset class="group-select" style="display:none">
<h4 class="legend"><?php echo $this->__('Change Password') ?></h4>
<ul class="form-list">
<li>
<div class="input-box">
<label for="current_password"><?php echo $this->__('Current Password') ?></label>
<input type="password" class="input-text" name="current_password" id="current_password" />
</div>
</li>
<li>
<div class="input-box">
<label for="password"><?php echo $this->__('New Password') ?></label>
<input type="password" class="validate-password input-text" name="password" id="password" />
</div>
</li>
<li>
<div class="input-box">
<label for="confirmation"><?php echo $this->__('Confirm New Password') ?></label>
<input type="password" class="validate-cpassword input-text" name="confirmation" id="confirmation" />
</div>
</li>
</ul>
</fieldset>
<div class="col2-alt-set button-set">
<div class="col-1">
<p class="required"><?php echo $this->__('* Required Fields') ?></p><br />
<a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="left">« <?php echo $this->__('Back') ?></a>
</div>
<div class="col-2">
<div class="form-buttons">
<button type="submit" class="form-button"><span><?php echo $this->__('Save') ?></span></button>
</div>
</div>
</div><div class="clear"></div>
</form><br /><br />
</div>
<script type="text/javascript">
var dataForm = new VarienForm('form-validate', true);
function setPasswordForm(arg){
if(arg){
$('current_password').up(3).show();
$('current_password').addClassName('required-entry');
$('password').addClassName('required-entry');
$('confirmation').addClassName('required-entry');
}else{
$('current_password').up(3).hide();
$('current_password').removeClassName('required-entry');
$('password').removeClassName('required-entry');
$('confirmation').removeClassName('required-entry');
}
}
<?php if($this->getCustomer()->getChangePassword()): ?>
setPasswordForm(true);
<?php endif; ?>
</script>