aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/user
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/forms/user')
-rw-r--r--views/default/forms/user/requestnewpassword.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/views/default/forms/user/requestnewpassword.php b/views/default/forms/user/requestnewpassword.php
new file mode 100644
index 000000000..a235f2cc6
--- /dev/null
+++ b/views/default/forms/user/requestnewpassword.php
@@ -0,0 +1,26 @@
+<?php
+/**
+ * Elgg forgotten password.
+ *
+ * @package Elgg
+ * @subpackage Core
+ */
+?>
+
+<p class="mtm">
+ <?php echo elgg_echo('user:password:text'); ?>
+</p>
+<p>
+ <label><?php echo elgg_echo('username'); ?></label>
+ <?php echo elgg_view('input/text', array('internalname' => 'username')); ?>
+</p>
+<?php echo elgg_view('input/captcha'); ?>
+<p>
+ <?php echo elgg_view('input/submit', array('value' => elgg_echo('request'))); ?>
+</p>
+
+<script type="text/javascript">
+ $(document).ready(function() {
+ $('input[name=username]').focus();
+ });
+</script> \ No newline at end of file