aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/user/requestnewpassword.php
blob: 8a83da709f2382e5655c94a0bd24a568e1389189 (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
 */
?>

<div class="mtm">
	<?php echo elgg_echo('user:password:text'); ?>
</div>
<div>
	<label><?php echo elgg_echo('username'); ?></label>
	<?php echo elgg_view('input/text', array('internalname' => 'username')); ?>
</div>
<?php echo elgg_view('input/captcha'); ?>
<div>
	<?php echo elgg_view('input/submit', array('value' => elgg_echo('request'))); ?>
</div>
<?php //@todo JS 1.8: no ?>
<script type="text/javascript">
	$(document).ready(function() {
		$('input[name=username]').focus();
	});
</script>