aboutsummaryrefslogtreecommitdiff
path: root/account/forgotten_password.php
blob: 65cce0dfb0a174df7d0c77cbe48085cb39523325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
	/**
	 * Forgotten password function.
	 * 
	 * @package Elgg
	 * @subpackage Core
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider Ltd
	 * @copyright Curverider Ltd 2008
	 * @link http://elgg.org/
	 */

	require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
	
	if (!isloggedin()) {
		$body = elgg_view_title(elgg_echo('user:password:lost')) . elgg_view("account/forms/forgotten_password");
		
		echo page_draw(elgg_echo('user:password:lost'), elgg_view_layout("one_column", $body));
	} else {
		forward();
	}
?>