From a420910a8b782bae53fbd7f86102db9f9b831388 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 13 Jun 2011 01:46:50 +0000 Subject: Fixes #3282 always using a menu item's name in its class git-svn-id: http://code.elgg.org/elgg/trunk@9200 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/navigation/menu/elements/item.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (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 55ddc2fe4..f3e46315b 100644 --- a/views/default/navigation/menu/elements/item.php +++ b/views/default/navigation/menu/elements/item.php @@ -22,13 +22,7 @@ if ($children) { $item_class = $item->getItemClass(); -//allow people to specify name with underscores -$name = str_replace('_', '-', $item->getName()); -if ($item_class) { - $class = "class=\"elgg-menu-item-$name $item_class\""; -} - -echo "
  • "; +echo "
  • "; echo $item->getContent(); if ($children) { echo elgg_view('navigation/menu/elements/section', array( -- cgit v1.2.3