aboutsummaryrefslogtreecommitdiff
path: root/mod/walledgarden/index.php
diff options
context:
space:
mode:
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);