diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-25 17:06:31 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-25 17:06:31 +0000 |
commit | b50eaba25354fa03663e6b30cb5e7da5e255cbb2 (patch) | |
tree | a309740c57333dfabfb343b976689cb40666dba3 /engine | |
parent | 567c41286ef9dd28877caee66843be8e42d8d11e (diff) | |
download | elgg-b50eaba25354fa03663e6b30cb5e7da5e255cbb2.tar.gz elgg-b50eaba25354fa03663e6b30cb5e7da5e255cbb2.tar.bz2 |
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
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/elgglib.php | 11 |
1 files changed, 5 insertions, 6 deletions
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; |