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

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

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