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:20:21 -0400 |
commit | 7b7e6c190f146525848d1849d2d903473f8d7682 (patch) | |
tree | 30ecfe3987915d2791535ac50410f786de829bdc /pages/account/reset_password.php | |
parent | 39fa5af1a79f444ec31eb63d0baf299fc8bc7b7a (diff) | |
download | elgg-7b7e6c190f146525848d1849d2d903473f8d7682.tar.gz elgg-7b7e6c190f146525848d1849d2d903473f8d7682.tar.bz2 |
Refs #5487 account related pages use walled garden now
Diffstat (limited to 'pages/account/reset_password.php')
-rw-r--r-- | pages/account/reset_password.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pages/account/reset_password.php b/pages/account/reset_password.php index 6515bfc5d..3ab8ccf3e 100644 --- a/pages/account/reset_password.php +++ b/pages/account/reset_password.php @@ -30,6 +30,11 @@ $form = elgg_view_form('user/passwordreset', array('class' => 'elgg-form-account $title = elgg_echo('resetpassword'); $content = elgg_view_title(elgg_echo('resetpassword')) . $form; -$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); +} |