clientareachangepw.tpl 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {*
  2. **********************************************************
  3. * Developed by: Team Theme Metro
  4. * Website: http://www.thememetro.com
  5. **********************************************************
  6. *}
  7. {if $successful}
  8. {include file="$template/includes/alert.tpl" type="success" msg=$LANG.changessavedsuccessfully textcenter=true}
  9. {/if}
  10. {if $errormessage}
  11. {include file="$template/includes/alert.tpl" type="error" errorshtml=$errormessage}
  12. {/if}
  13. <div class="row">
  14. <div class="col-sm-7">
  15. <form class="using-password-strength" method="post" action="clientarea.php?action=changepw" role="form">
  16. <input type="hidden" name="submit" value="true" />
  17. <div class="TM-card">
  18. <div class="form-group">
  19. <label for="inputExistingPassword">{$LANG.existingpassword}</label>
  20. <input type="password" class="form-control" name="existingpw" id="inputExistingPassword" autocomplete="off" />
  21. </div>
  22. <div id="newPassword1" class="form-group has-feedback">
  23. <label for="inputNewPassword1">{$LANG.newpassword}</label>
  24. <input type="password" class="form-control" name="newpw" id="inputNewPassword1" autocomplete="off" />
  25. <span class="form-control-feedback glyphicon"></span>
  26. {include file="$template/includes/pwstrength.tpl"}
  27. </div>
  28. <div class="form-group">
  29. <button type="button" class="btn btn-default generate-password" data-targetfields="inputNewPassword1,inputNewPassword2">
  30. {$LANG.generatePassword.btnLabel}
  31. </button>
  32. </div>
  33. <div id="newPassword2" class="form-group has-feedback">
  34. <label for="inputNewPassword2">{$LANG.confirmnewpassword}</label>
  35. <input type="password" class="form-control" name="confirmpw" id="inputNewPassword2" autocomplete="off" />
  36. <span class="form-control-feedback glyphicon"></span>
  37. <div id="inputNewPassword2Msg"></div>
  38. </div>
  39. </div>
  40. <div class="form-actions">
  41. <input class="btn btn-primary" type="submit" value="{$LANG.clientareasavechanges}" />
  42. <input class="btn btn-default" type="reset" value="{$LANG.cancel}" />
  43. </div>
  44. </form>
  45. </div>
  46. </div>