refactoring
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
function reset_pw_form()
|
||||
{
|
||||
$form = '
|
||||
<div class="form_card">
|
||||
<h5 class="underline">Reset Password</h5>
|
||||
<span class="modal_close">×</span>
|
||||
<form method="post">
|
||||
<input type="hidden" name="form_id" value="reset_pw_form">
|
||||
<input type="hidden" name="user_id" value="' . $_GET['user_id'] . '">
|
||||
|
||||
<label for="new_pw">New Password</label>
|
||||
<input id="new_pw" name="new_pw" type="password" required>
|
||||
|
||||
<label for="verify_new_pw">Verify New Password</label>
|
||||
<input id="verify_new_pw" name="verify_new_pw" type="password" required>
|
||||
|
||||
<input type="submit" class="button" value="Reset Password">
|
||||
</form>
|
||||
</div>
|
||||
';
|
||||
|
||||
return $form;
|
||||
}
|
||||
Reference in New Issue
Block a user