diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-01 18:54:37 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-01 18:54:37 +0000 |
commit | 165fa6558c1bfd0a7261bdd51b027b54a46961b6 (patch) | |
tree | 0de59bfce5f64f7d1fb0e9951d0aea809a83d91d /views/default/navigation/menu/elements | |
parent | 49c91aa389416ee8cb66dbb4d3d7a2512c411790 (diff) | |
download | elgg-165fa6558c1bfd0a7261bdd51b027b54a46961b6.tar.gz elgg-165fa6558c1bfd0a7261bdd51b027b54a46961b6.tar.bz2 |
Refs #3021: elgg-section-$section => elgg-menu-$menu-$section
Added elgg-menu-hz for horizontal menus
git-svn-id: http://code.elgg.org/elgg/trunk@8535 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/menu/elements')
-rw-r--r-- | views/default/navigation/menu/elements/item.php | 2 | ||||
-rw-r--r-- | views/default/navigation/menu/elements/section.php (renamed from views/default/navigation/menu/elements/group.php) | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/views/default/navigation/menu/elements/item.php b/views/default/navigation/menu/elements/item.php index e11b01bbf..893bbd205 100644 --- a/views/default/navigation/menu/elements/item.php +++ b/views/default/navigation/menu/elements/item.php @@ -28,7 +28,7 @@ if ($item_class) { echo "<li $class>"; echo $item->getContent(); if ($children) { - echo elgg_view('navigation/menu/elements/group', array( + echo elgg_view('navigation/menu/elements/section', array( 'items' => $children, 'class' => 'elgg-menu elgg-child-menu', )); diff --git a/views/default/navigation/menu/elements/group.php b/views/default/navigation/menu/elements/section.php index b0c0f54d4..f72db847f 100644 --- a/views/default/navigation/menu/elements/group.php +++ b/views/default/navigation/menu/elements/section.php @@ -4,13 +4,9 @@ * * @uses $vars['items'] * @uses $vars['class'] - * @uses $vars['section'] */ $class = elgg_extract('class', $vars, ''); -if (isset($vars['section'])) { - $class = "$class elgg-section-{$vars['section']}"; -} echo "<ul class=\"$class\">"; foreach ($vars['items'] as $menu_item) { |