aboutsummaryrefslogtreecommitdiff
path: root/account/forgotten_password.php
blob: 1741a06b07ec2d47f6d2f19b63151333644bf559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * Assembles and outputs the forgotten password page.
 *
 * @see views/default/account/forums/forgotten_password.php
 *
 * @package Elgg
 * @subpackage Core
 */

require_once(dirname(dirname(__FILE__)) . "/engine/start.php");

if (!isloggedin()) {
	$area1 = elgg_view_title(elgg_echo("user:password:lost"));
	$area2 = elgg_view("account/forms/forgotten_password");
	page_draw(elgg_echo('user:password:lost'), elgg_view_layout("one_column_with_sidebar", $area1 . $area2));
} else {
	forward();
}