diff options
Diffstat (limited to 'application/views/user')
4 files changed, 38 insertions, 0 deletions
diff --git a/application/views/user/reset_password_form.php b/application/views/user/reset_password_form.php new file mode 100644 index 000000000..68a3e387e --- /dev/null +++ b/application/views/user/reset_password_form.php @@ -0,0 +1,20 @@ +<?php if (!empty($error)) { + echo "<p>"; + echo implode("<br />\n", $error); + echo "</p>"; +} ?> +<?php echo form_open('user/reset_password/'.$key); ?> + <table> + <tr> + <td>Password</td> + <td> <input type="password" name="password" /></td> + </tr><tr> + <td>Confirm password</td> + <td> <input type="password" name="password_confirm" /></td> + </tr><tr> + <td></td> + <td><input type="submit" value="Change Password" name="process" /></td> + </tr> + </table> +</form> + diff --git a/application/views/user/reset_password_link_sent.php b/application/views/user/reset_password_link_sent.php new file mode 100644 index 000000000..7734d9c81 --- /dev/null +++ b/application/views/user/reset_password_link_sent.php @@ -0,0 +1,3 @@ +<p> + A mail containing your password reset link has been sent to "<?php echo htmlentities($email); ?>". +</p> diff --git a/application/views/user/reset_password_success.php b/application/views/user/reset_password_success.php new file mode 100644 index 000000000..bc7448833 --- /dev/null +++ b/application/views/user/reset_password_success.php @@ -0,0 +1,3 @@ +<div class="center"> + <p>Your password has been changed successfully.</p> +</div> diff --git a/application/views/user/reset_password_username_form.php b/application/views/user/reset_password_username_form.php new file mode 100644 index 000000000..dde6d5aa0 --- /dev/null +++ b/application/views/user/reset_password_username_form.php @@ -0,0 +1,12 @@ +<?php echo form_open('user/reset_password'); ?> + <table> + <tr> + <td>Username</td> + <td> <input type="text" name="username" /></td> + </tr><tr> + <td></td> + <td><input type="submit" value="Send mail" name="process" /></td> + </tr> + </table> +</form> + |