aboutsummaryrefslogtreecommitdiff
path: root/views/default/welcome/logged_out.php
blob: b218242a9a2f12065b8f685329c865bf42893d71 (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
27
<?php

	/**
	 * Elgg sample welcome page (logged out)
	 * 
	 * @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/
	 */

?>

	<?php

		//add various views to area1
		$area1 = "<p>" . elgg_echo("welcome_message") . "</p>";
		$area1 .= elgg_view("account/forms/login");

		//send area one to the appropriate canvas layout
		$body = elgg_view_layout("one_column", $area1);

		//draw to screen
		echo $body;	
	?>