diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-28 23:47:19 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-28 23:47:19 +0000 |
commit | 99f56473fe2a8b47aa8119d049f36d9f07e83129 (patch) | |
tree | 566554875c6834044b3dac5971c11a84d7dd2779 /views/default/page_elements/owner_block.php | |
parent | fcf9dcf201ed1088b84c38236d43d5d4f1c2e2e3 (diff) | |
download | elgg-99f56473fe2a8b47aa8119d049f36d9f07e83129.tar.gz elgg-99f56473fe2a8b47aa8119d049f36d9f07e83129.tar.bz2 |
sidebar menu deserves its own view
git-svn-id: http://code.elgg.org/elgg/trunk@6275 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/owner_block.php')
-rw-r--r-- | views/default/page_elements/owner_block.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php index 12341bec7..dfe1dfcc4 100644 --- a/views/default/page_elements/owner_block.php +++ b/views/default/page_elements/owner_block.php @@ -79,15 +79,9 @@ $contents .= elgg_view('owner_block/extend'); // Have we been asked to inject any content? If so, display it -if (isset($vars['content'])) +if (isset($vars['content'])) { $contents .= $vars['content']; +} -// Initialise the current tool/page submenu (plugins can add to the submenu) -$submenu = elgg_get_submenu(); - -if (!empty($submenu)) - $contents .= $submenu; -if (!empty($contents)) { - echo $contents; -}
\ No newline at end of file +echo $contents; |