aboutsummaryrefslogtreecommitdiff
path: root/mod/walledgarden/index.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-23 10:16:33 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-23 10:16:33 +0000
commit4a2a33d4aef454cd9083ba0ef12b8de6e8e0f383 (patch)
tree8ed9fd0fea0bbbf3a74f59e75ccb58afc5125534 /mod/walledgarden/index.php
parent63db1681c560d859e65647068722301ea3b98cc3 (diff)
downloadelgg-4a2a33d4aef454cd9083ba0ef12b8de6e8e0f383.tar.gz
elgg-4a2a33d4aef454cd9083ba0ef12b8de6e8e0f383.tar.bz2
The start of a new walled garden index page
git-svn-id: http://code.elgg.org/elgg/trunk@5856 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/walledgarden/index.php')
-rw-r--r--mod/walledgarden/index.php16
1 files changed, 6 insertions, 10 deletions
diff --git a/mod/walledgarden/index.php b/mod/walledgarden/index.php
index b5b6e57c6..98ed8479f 100644
--- a/mod/walledgarden/index.php
+++ b/mod/walledgarden/index.php
@@ -11,15 +11,11 @@
// 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.";
+//grab the login form
+$login = elgg_view("account/forms/login_walledgarden");
+
//display the contents in our new canvas layout
-$body = elgg_view_layout('one_column_with_sidebar', $area1, $login);
-
-page_draw($title, $body); \ No newline at end of file
+$body = elgg_view_layout('walled_garden',$login);
+
+page_draw_walledgarden($title, $body);