From ca08eb6d170d375ef4fca53604956f3474c7db19 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 22 Aug 2010 22:37:30 +0000 Subject: Merged r6701:6756 from 1.7 branch into trunk git-svn-id: http://code.elgg.org/elgg/trunk@6849 36083f99-b078-4883-b0ff-0f9b5a30f544 --- settings/plugins.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'settings/plugins.php') diff --git a/settings/plugins.php b/settings/plugins.php index 11459a6b7..719634d52 100644 --- a/settings/plugins.php +++ b/settings/plugins.php @@ -1,6 +1,6 @@ canEdit())) { - set_page_owner($_SESSION['guid']); + set_page_owner(get_loggedin_userid()); } -// Display main admin menu -page_draw(elgg_echo("usersettings:plugins"),elgg_view_layout('one_column_with_sidebar', elgg_view_title(elgg_echo("usersettings:plugins")) . elgg_view("usersettings/plugins", array('installed_plugins' => get_installed_plugins())))); +$content = elgg_view_title(elgg_echo("usersettings:plugins")); +$content .= elgg_view("usersettings/plugins", array('installed_plugins' => get_installed_plugins())); + +$body = elgg_view_layout('one_column_with_sidebar', $content); + +page_draw(elgg_echo("usersettings:plugins"), $body); -- cgit v1.2.3