<?php
/**
  @licence GPL 2005-2010  The osCSS developers - osCSS Open Source E-commerce
  @portion code Copyright (c) 2002 osCommerce
  @package osCSS-2 <www http://www.oscss.org>
  @version 2.1.0
  @date  16/09/10, 21:53
  @author oscim <mail aurelien@oscim.fr> <www http://www.oscim.fr>
  @encode UTF-8
*/
?>
<div id="accountPassword">
  <?php $page->messageStack->_draw('account_password');?>

  <h2 class="content title  <?php echo $language ;?>"><?php echo HEADING_TITLE_5; ?></h2>

  <p class="notice"><?php echo FORM_REQUIRED_INFORMATION; ?></p>

  <?php echo tep_draw_form('account_password', tep_href_link(FILENAME_ACCOUNT, 'action=password', 'SSL'), 'post', 'onsubmit="return check_form(account_password);"') ; ?>

    <fieldset class="account">
      <legend><?php echo MY_PASSWORD_TITLE; ?></legend>

      <p><?php echo tep_draw_hidden_field('action', 'process'); ?></p>

      <p>
        <label for="currentPassword" title=" Password (requis) "><?php echo ENTRY_PASSWORD_CURRENT; ?></label>
        <?php echo tep_draw_password_field('password_current','currentPassword') .  (tep_not_null(ENTRY_PASSWORD_CURRENT_TEXT) ? '&nbsp;<span class="notice">' . ENTRY_PASSWORD_CURRENT_TEXT . '</span>': ''); ?>
      </p>

      <p>
        <label for="newPassword" title=" Nouveau Password (requis) "><?php echo ENTRY_PASSWORD_NEW; ?></label>
        <?php echo tep_draw_password_field('password_new','newPassword') . (tep_not_null(ENTRY_PASSWORD_NEW_TEXT) ? '&nbsp;<span class="notice">' . ENTRY_PASSWORD_NEW_TEXT . '</span>': ''); ?>
      </p>

      <p>
        <label for="confirm" title=" Password confirm(requis) "><?php echo ENTRY_PASSWORD_CONFIRMATION; ?></label>
        <?php echo tep_draw_password_field('password_confirmation','confirm') . (tep_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '&nbsp;<span class="notice">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>': ''); ?>
      </p>

      <p class="formBt">
        <input class="submitBt" id="send" type="submit" value="<?php echo IMAGE_BUTTON_LOGIN; ?>"  />
      </p>
   </fieldset>
  </form>

  <div class="navBt">
    <?php echo '<a class="navBt" href="' . tep_href_link(FILENAME_ACCOUNT) . '">' . IMAGE_BUTTON_BACK . '</a>'; ?>
  </div>

</div>