aboutsummaryrefslogtreecommitdiff
path: root/admin/site
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-14 15:06:29 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-14 15:06:29 +0000
commit02acf1ee3900beebc050bf5d2e2675c6a29395c8 (patch)
tree09aebf66ea02f4e8c07e9671faea9f1a780039f2 /admin/site
parent0c282356c6dd29765f7f77f11ff23358e2c783a4 (diff)
downloadelgg-02acf1ee3900beebc050bf5d2e2675c6a29395c8.tar.gz
elgg-02acf1ee3900beebc050bf5d2e2675c6a29395c8.tar.bz2
owner block added to admin pages
git-svn-id: https://code.elgg.org/elgg/trunk@1920 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'admin/site')
-rw-r--r--admin/site/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/site/index.php b/admin/site/index.php
index 39df50563..ef35b9dfd 100644
--- a/admin/site/index.php
+++ b/admin/site/index.php
@@ -17,6 +17,9 @@
// Make sure only valid admin users can see this
admin_gatekeeper();
+ // Set admin user for user block
+ set_page_owner($_SESSION['guid']);
+
// Display main admin menu
page_draw(elgg_echo("admin:site"),elgg_view_layout("two_column_left_sidebar",'', elgg_view_title(elgg_echo('admin:site')) . elgg_view("admin/site")));