aboutsummaryrefslogtreecommitdiff
path: root/mod/walledgarden/index.php
blob: b5b6e57c6980d3613daf62390fc0919a65699171 (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
<?php
/**
 * Elgg Walled Garden
 * 
 * @package WalledGarden
 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
 * @author Curverider Ltd <info@elgg.com>
 * @copyright Curverider Ltd 2008
 * @link http://elgg.com/
 */

// Get the Elgg engine
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
	
//grab the login form
$login = elgg_view("account/forms/login");

//temp message
$area1 = "This site is running in walled garden mode. <br />
			Therefore you will need to be invited & logged in to see anything.";

//display the contents in our new canvas layout
$body = elgg_view_layout('one_column_with_sidebar', $area1, $login);

page_draw($title, $body);