diff options
author | Cash Costello <cash.costello@gmail.com> | 2013-06-12 21:09:03 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-06-12 21:09:03 -0400 |
commit | 731b7bdde4790d2bfd565eb2d9c847f4adedf4b4 (patch) | |
tree | 0b25ebaafbc0a7c333058d18073ee90ef4e3749b /pages/account/register.php | |
parent | c3f02ab07e20b870cb36e05de2795ef9fea09182 (diff) | |
download | elgg-731b7bdde4790d2bfd565eb2d9c847f4adedf4b4.tar.gz elgg-731b7bdde4790d2bfd565eb2d9c847f4adedf4b4.tar.bz2 |
Refs #5487 account related pages use walled garden now
Diffstat (limited to 'pages/account/register.php')
-rw-r--r-- | pages/account/register.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pages/account/register.php b/pages/account/register.php index cf18a635b..2fe8b74c0 100644 --- a/pages/account/register.php +++ b/pages/account/register.php @@ -48,6 +48,11 @@ $content .= elgg_view_form('register', $form_params, $body_params); $content .= elgg_view('help/register'); -$body = elgg_view_layout("one_column", array('content' => $content)); - -echo elgg_view_page($title, $body); +if (elgg_get_config('walled_garden')) { + elgg_load_css('elgg.walled_garden'); + $body = elgg_view_layout('walled_garden', array('content' => $content)); + echo elgg_view_page($title, $body, 'walled_garden'); +} else { + $body = elgg_view_layout('one_column', array('content' => $content)); + echo elgg_view_page($title, $body); +} |