2012-10-17 19:24:49 +04:00
|
|
|
<form action="<?php echo OC_Helper::linkToRoute('core_lostpassword_send_email') ?>" method="post">
|
2011-08-29 22:37:18 +04:00
|
|
|
<fieldset>
|
|
|
|
<?php echo $l->t('You will receive a link to reset your password via Email.'); ?>
|
|
|
|
<?php if ($_['requested']): ?>
|
2012-10-17 19:24:49 +04:00
|
|
|
<?php echo $l->t('Reset email send.'); ?>
|
2011-08-29 22:37:18 +04:00
|
|
|
<?php else: ?>
|
|
|
|
<?php if ($_['error']): ?>
|
2012-10-17 19:24:49 +04:00
|
|
|
<?php echo $l->t('Request failed!'); ?>
|
2011-08-29 22:37:18 +04:00
|
|
|
<?php endif; ?>
|
2011-10-03 16:41:55 +04:00
|
|
|
<p class="infield">
|
|
|
|
<label for="user" class="infield"><?php echo $l->t( 'Username' ); ?></label>
|
|
|
|
<input type="text" name="user" id="user" value="" autocomplete="off" required autofocus />
|
|
|
|
</p>
|
2011-08-29 22:37:18 +04:00
|
|
|
<input type="submit" id="submit" value="<?php echo $l->t('Request reset'); ?>" />
|
|
|
|
<?php endif; ?>
|
|
|
|
</fieldset>
|
2011-09-26 01:33:22 +04:00
|
|
|
</form>
|