2013-04-08 09:11:35 +04:00
|
|
|
<?php if $_['requested']): ?>
|
|
|
|
<div class="success"><p>
|
|
|
|
<?php
|
|
|
|
echo $l->t('The link to reset your password has been sent to your email.');
|
|
|
|
echo "</p><p>";
|
|
|
|
echo $l->t('If you do not receive it within a reasonable amount of time, check your spam/junk folders.');
|
|
|
|
echo "</p><p>";
|
|
|
|
echo $l->t('If it is not there ask your local administrator .');
|
|
|
|
?>
|
|
|
|
</p></div>
|
|
|
|
<?php else: ?>
|
|
|
|
<form action="<?php echo OC_Helper::linkToRoute('core_lostpassword_send_email') ?>" method="post">
|
|
|
|
<fieldset>
|
2011-08-29 22:37:18 +04:00
|
|
|
<?php if ($_['error']): ?>
|
2013-04-08 09:11:35 +04:00
|
|
|
<div class="errors"><p>
|
|
|
|
<?php
|
|
|
|
echo $l->t('Request failed!');
|
|
|
|
echo "</p><p>";
|
|
|
|
echo $l->t('Did you make sure the Email was right?');
|
|
|
|
?>
|
|
|
|
</p></div>
|
2011-08-29 22:37:18 +04:00
|
|
|
<?php endif; ?>
|
2013-04-08 09:11:35 +04:00
|
|
|
<?php echo $l->t('You will receive a link to reset your password via Email.'); ?>
|
2011-10-03 16:41:55 +04:00
|
|
|
<p class="infield">
|
|
|
|
<label for="user" class="infield"><?php echo $l->t( 'Username' ); ?></label>
|
2013-03-05 01:11:57 +04:00
|
|
|
<input type="text" name="user" id="user" placeholder="" value="" autocomplete="off" required autofocus />
|
2011-10-03 16:41:55 +04:00
|
|
|
</p>
|
2011-08-29 22:37:18 +04:00
|
|
|
<input type="submit" id="submit" value="<?php echo $l->t('Request reset'); ?>" />
|
2013-04-08 09:11:35 +04:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
<?php endif; ?>
|