From 651530d1d633eb4ee07784daf356956187d3207d Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 14 Aug 2008 11:07:44 +0000 Subject: Further submenu clustering git-svn-id: https://code.elgg.org/elgg/trunk@1916 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/canvas_header/submenu_group.php | 3 ++- views/default/page_elements/owner_block.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'views/default') diff --git a/views/default/canvas_header/submenu_group.php b/views/default/canvas_header/submenu_group.php index 4ce6bce50..5af0f0609 100644 --- a/views/default/canvas_header/submenu_group.php +++ b/views/default/canvas_header/submenu_group.php @@ -7,7 +7,8 @@ } if (isset($vars['submenu'])) { - echo "
{$vars['submenu']}
"; + $submenu = ""; + echo "
{$submenu}
"; } diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php index b3a5d139b..35c39f557 100644 --- a/views/default/page_elements/owner_block.php +++ b/views/default/page_elements/owner_block.php @@ -86,7 +86,6 @@ END; // Initialise the submenu $submenu = get_submenu(); // elgg_view('canvas_header/submenu'); - if (!empty($submenu)) $submenu = ""; if (!empty($submenu)) $contents .= "
" . $submenu . "
"; // plugins can extend this to add menu options -- cgit v1.2.3