diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-24 02:02:46 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-24 02:02:46 +0000 |
commit | de3b6654ddc28fe0fc7d6e1fb615ddb4fd3e3e47 (patch) | |
tree | ca658f3be6585f6a64a56693000bc46d7796289c /views/default/navigation/menu | |
parent | 1cf47c89b8ca9f5c42f5e247c3cba939f9676564 (diff) | |
download | elgg-de3b6654ddc28fe0fc7d6e1fb615ddb4fd3e3e47.tar.gz elgg-de3b6654ddc28fe0fc7d6e1fb615ddb4fd3e3e47.tar.bz2 |
welcome to the admin dashboard
git-svn-id: http://code.elgg.org/elgg/trunk@7922 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/menu')
-rw-r--r-- | views/default/navigation/menu/elements/item.php | 4 |
1 files changed, 3 insertions, 1 deletions
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 "<li $class>"; |