Oppaitime's version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

recover_step2.php 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?
  2. View::show_header('Recover Password');
  3. ?>
  4. <script src="<?=(STATIC_SERVER)?>functions/validate.js" type="text/javascript"></script>
  5. <script src="<?=(STATIC_SERVER)?>functions/password_validate.js" type="text/javascript"></script>
  6. <form class="auth_form" name="recovery" id="recoverform" method="post" action="" onsubmit="return formVal();">
  7. <input type="hidden" name="key" value="<?=display_str($_REQUEST['key'])?>" />
  8. <div style="width: 500px;">
  9. <span class="titletext">Reset your password - Final Step</span><br /><br />
  10. <?
  11. if (empty($PassWasReset)) {
  12. if (!empty($Err)) {
  13. ?>
  14. <strong class="important_text"><?=display_str($Err)?></strong><br /><br />
  15. <? } ?> Any password 6 characters or longer is accepted, but a strong password is 8 characters or longer, contains at least 1 lowercase and uppercase letter, and contains at least a number or symbol.<br /><br />
  16. <table class="layout">
  17. <tr>
  18. <td><strong id="pass_strength"></strong></td>
  19. <td><input type="password" name="password" id="new_pass_1" class="inputtext" size="40" placeholder="New password" pattern=".{6,307200}" required></td>
  20. </tr>
  21. <tr>
  22. <td><strong id="pass_match"></strong></td>
  23. <td><input type="password" name="verifypassword" id="new_pass_2" class="inputtext" size="40" placeholder="Confirm password" pattern=".{6,307200}" required></td>
  24. </tr>
  25. <tr>
  26. <td></td>
  27. <td><input type="submit" name="reset" value="Reset!" class="submit"></td>
  28. </tr>
  29. </table>
  30. <? } else { ?>
  31. Your password has been successfully reset.<br />
  32. Please <a href="login.php">click here</a> to log in using your new password.
  33. <? } ?>
  34. </div>
  35. </form>
  36. <?
  37. View::show_footer(['recover' => true]);
  38. ?>