lostpassword.php 714 B

123456789101112131415161718
  1. <form action="<?php echo OC_Helper::linkToRoute('core_lostpassword_send_email') ?>" method="post">
  2. <fieldset>
  3. <?php echo $l->t('You will receive a link to reset your password via Email.'); ?>
  4. <?php if ($_['requested']): ?>
  5. <?php echo $l->t('Reset email send.'); ?>
  6. <?php else: ?>
  7. <?php if ($_['error']): ?>
  8. <?php echo $l->t('Request failed!'); ?>
  9. <?php endif; ?>
  10. <p class="infield">
  11. <label for="user" class="infield"><?php echo $l->t( 'Username' ); ?></label>
  12. <input type="text" name="user" id="user" value="" autocomplete="off" required autofocus />
  13. </p>
  14. <input type="submit" id="submit" value="<?php echo $l->t('Request reset'); ?>" />
  15. <?php endif; ?>
  16. </fieldset>
  17. </form>