From c667ce609dc3c1f9f071e39293f8c176d3e1c5dc Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 24 Feb 2011 01:27:47 +0000 Subject: Refs #2997 switching from title to text for menu items git-svn-id: http://code.elgg.org/elgg/trunk@8455 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/deprecated-1.8.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/deprecated-1.8.php') diff --git a/engine/lib/deprecated-1.8.php b/engine/lib/deprecated-1.8.php index 58ea3d48a..e31a9f8ba 100644 --- a/engine/lib/deprecated-1.8.php +++ b/engine/lib/deprecated-1.8.php @@ -1205,7 +1205,7 @@ function add_submenu_item($label, $link, $group = 'default', $onclick = false, $ $context = 'all'; } - $item = array('name' => $label, 'title' => $label, 'url' => $link, 'context' => $context, + $item = array('name' => $label, 'text' => $label, 'url' => $link, 'context' => $context, 'section' => $group,); if ($selected) { @@ -1250,7 +1250,7 @@ function get_submenu() { function add_menu($menu_name, $menu_url, $menu_children = array(), $context = "") { elgg_deprecated_notice('add_menu() deprecated by elgg_register_menu_item()', 1.8); - return elgg_register_menu_item('site', array('name' => $menu_name, 'title' => $menu_name, + return elgg_register_menu_item('site', array('name' => $menu_name, 'text' => $menu_name, 'url' => $menu_url,)); } -- cgit v1.2.3