From b50eaba25354fa03663e6b30cb5e7da5e255cbb2 Mon Sep 17 00:00:00 2001 From: nickw Date: Tue, 25 May 2010 17:06:31 +0000 Subject: Walled Garden login page is no longer tied to the default page shell. git-svn-id: http://code.elgg.org/elgg/trunk@6209 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'engine') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 93fb7dc28..ea2ca9f74 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -3171,12 +3171,11 @@ function elgg_init() { } function elgg_walled_garden_index() { - global $CONFIG; - - $login = elgg_view('account/forms/login'); - $layout = elgg_view_layout('one_column', $login); - - echo page_draw('', $layout); + $login = elgg_view('account/forms/login_walled_garden'); + echo elgg_view('page_shells/walled_garden', array( + 'body' => $login, + 'sysmessages' => system_messages(NULL, ''), + )); // @hack Index must exit to keep plugins from continuing to extend exit; -- cgit v1.2.3