diff options
Diffstat (limited to 'views/default/page_elements/title.php')
-rw-r--r-- | views/default/page_elements/title.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/page_elements/title.php b/views/default/page_elements/title.php index 5f8f7a762..c89371013 100644 --- a/views/default/page_elements/title.php +++ b/views/default/page_elements/title.php @@ -9,7 +9,7 @@ $page_owner_user = get_entity($page_owner); $submenu = get_submenu(); // elgg_view('canvas_header/submenu'); if (!empty($submenu)) { - $submenu = "<ul>" . $submenu . "</ul>"; + $submenu = "<ul class='submenu extended'>" . $submenu . "</ul>"; } if (($_SESSION['guid']) && ($page_owner && $page_owner_user->guid != $_SESSION['user']->getGUID())) { @@ -21,7 +21,7 @@ if (($_SESSION['guid']) && ($page_owner && $page_owner_user->guid != $_SESSION[' } if (!empty($submenu) && $vars['submenu'] == true) { // plugins can extend this to add menu options - $display .= "<div class='submenu extended'>" . $submenu . "</div>"; + $display .= $submenu; } } else { $info = "<h2>" . $vars['title'] . "</h2>"; @@ -32,7 +32,7 @@ if (($_SESSION['guid']) && ($page_owner && $page_owner_user->guid != $_SESSION[' } if (!empty($submenu) && $vars['submenu'] == true) { // plugins can extend this to add menu options - $display .= "<div class='submenu extended'>" . $submenu . "</div>"; + $display .= $submenu; } } |