<?php
/**
 * Page Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_password_forgotten_default.php 3712 2006-06-05 20:54:13Z drbyte $
 */
?>
<div class="centerColumn" id="passwordForgotten">
<?php echo zen_draw_form('password_forgotten', zen_href_link(FILENAME_PASSWORD_FORGOTTEN, 'action=process', 'SSL')); ?>

<?php if ($messageStack->size('password_forgotten') > 0) echo $messageStack->output('password_forgotten'); ?>
 
<h3 class="section-title"><?php echo HEADING_TITLE; ?></h3>

<div id="passwordForgottenMainContent" class="content"><?php echo TEXT_MAIN; ?></div>
<br class="clearBoth" />
<div class="text-danger"><?php echo FORM_REQUIRED_INFORMATION; ?></div>
<br class="clearBoth" />

<div class="form-group">
<label class="inputLabel" for="email-address"><?php echo str_replace(':', '', ENTRY_EMAIL_ADDRESS) . (zen_not_null(ENTRY_EMAIL_ADDRESS_TEXT) ? ' <span class="text-danger">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>': ''); ?></label>
<?php echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' id="email-address"'); ?>
</div>

<div class="buttonRow pull-right"><input class="button" type="submit" value="<?php echo BUTTON_SUBMIT_ALT; ?>"></div> 
<div class="buttonRow pull-left"><a class="button button-inverse" href="<?php echo zen_back_link(true); ?>"><?php echo BUTTON_BACK_ALT; ?></a></div>

</form>
</div>