aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/user/requestnewpassword.php
blob: d3823f22b6abc36352c32a3c49674818342810b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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>
<?php //@todo JS 1.8: no ?>
<script type="text/javascript">
	$(document).ready(function() {
		$('input[name=username]').focus();
	});
</script>