From de3b6654ddc28fe0fc7d6e1fb615ddb4fd3e3e47 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 24 Jan 2011 02:02:46 +0000 Subject: welcome to the admin dashboard git-svn-id: http://code.elgg.org/elgg/trunk@7922 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/navigation/menu/elements/item.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'views/default/navigation/menu/elements') diff --git a/views/default/navigation/menu/elements/item.php b/views/default/navigation/menu/elements/item.php index 7903dbdc0..7c88c344c 100644 --- a/views/default/navigation/menu/elements/item.php +++ b/views/default/navigation/menu/elements/item.php @@ -3,15 +3,17 @@ $item = $vars['item']; $class = ''; +$link_class = 'elgg-menu-closed'; if ($item->getSelected()) { $class = 'class="selected"'; + $link_class = 'elgg-menu-opened'; } $link_vars = array(); $children = $item->getChildren(); if ($children) { - $link_vars['class'] = 'elgg-menu-parent elgg-menu-closed'; + $link_vars['class'] = "elgg-menu-parent $link_class"; } echo "
  • "; -- cgit v1.2.3