diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 13:37:04 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 13:37:04 +0000 |
commit | d7237134d36a3c072edc474f963d137ed814f7be (patch) | |
tree | 569cc17ed8af18788c325f21faf17fffd543f2fb /mod/profile/start.php | |
parent | 87d8b091cf49c072cacac161bf78cb61e702e06b (diff) | |
download | elgg-d7237134d36a3c072edc474f963d137ed814f7be.tar.gz elgg-d7237134d36a3c072edc474f963d137ed814f7be.tar.bz2 |
new profile submenu committed
git-svn-id: https://code.elgg.org/elgg/trunk@1358 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/start.php')
-rw-r--r-- | mod/profile/start.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php index 5f0eaabd2..80901659f 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -59,11 +59,13 @@ // Add Javascript reference to the page header
extend_view('metatags','profile/metatags');
extend_view('css','profile/css');
- - // Extend context menu with admin links - if (isadminloggedin()) - { - extend_view('profile/menu/links','profile/menu/adminlinks'); + if (get_context() == "profile")
+ extend_view('canvas_header/submenu','profile/submenu');
+
+ // Extend context menu with admin links
+ if (isadminloggedin())
+ {
+ extend_view('profile/menu/links','profile/menu/adminlinks');
}
}
|