diff options
Diffstat (limited to 'views/default/account/forms/forgotten_password.php')
-rw-r--r-- | views/default/account/forms/forgotten_password.php | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/views/default/account/forms/forgotten_password.php b/views/default/account/forms/forgotten_password.php index 5ffb1be1a..b360bcc63 100644 --- a/views/default/account/forms/forgotten_password.php +++ b/views/default/account/forms/forgotten_password.php @@ -15,11 +15,17 @@ $form_body .= elgg_view('input/captcha'); $form_body .= "<p>" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "</p>"; ?> -<div class="contentWrapper"> -<?php -echo elgg_view('input/form', array( - 'action' => "{$vars['url']}action/user/requestnewpassword", - 'body' => $form_body) -); -?> -</div>
\ No newline at end of file +<div id="elgg_content" class="sidebar"> + <div id="elgg_page_contents" class="clearfloat forgotten_password"> + <h2><?php echo elgg_echo('user:password:lost'); ?></h2> + <?php + echo elgg_view('input/form', array( + 'action' => "{$vars['url']}action/user/requestnewpassword", + 'body' => $form_body) + ); + ?> + </div> +</div> +<script type="text/javascript"> + $(document).ready(function() { $('input[name=username]').focus(); }); +</script>
\ No newline at end of file |