resetpassword.php 660 B

123456789101112131415
  1. <form action="<?php echo OC_Helper::linkToRoute('core_lostpassword_reset', $_['args']) ?>" method="post">
  2. <fieldset>
  3. <?php if($_['success']): ?>
  4. <h1><?php echo $l->t('Your password was reset'); ?></h1>
  5. <p><a href="<?php echo OC_Helper::linkTo('', 'index.php') ?>/"><?php echo $l->t('To login page'); ?></a></p>
  6. <?php else: ?>
  7. <p class="infield">
  8. <label for="password" class="infield"><?php echo $l->t( 'New password' ); ?></label>
  9. <input type="password" name="password" id="password" value="" required />
  10. </p>
  11. <input type="submit" id="submit" value="<?php echo $l->t('Reset password'); ?>" />
  12. <?php endif; ?>
  13. </fieldset>
  14. </form>