diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-12 10:11:52 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-12 10:11:52 +0000 |
commit | 4c7837dafcf4b1c68c011f178315f38285aa0030 (patch) | |
tree | 2641ad0ddfbf134d8ebac031cd719b9207382c69 /views/default/page_elements/title.php | |
parent | 12c2361b2bf7eb15f79bcfa288da8d3a253c07fc (diff) | |
download | elgg-4c7837dafcf4b1c68c011f178315f38285aa0030.tar.gz elgg-4c7837dafcf4b1c68c011f178315f38285aa0030.tar.bz2 |
Removed unneeded div from around submenu lists.
git-svn-id: http://code.elgg.org/elgg/trunk@5373 36083f99-b078-4883-b0ff-0f9b5a30f544
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; } } |