aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/admin.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-24 01:27:47 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-24 01:27:47 +0000
commitc667ce609dc3c1f9f071e39293f8c176d3e1c5dc (patch)
tree1ec44df08297b396809af545dcf9568ba7c27aff /engine/lib/admin.php
parent64547b21f0e0cb4efc55212a5a6ae92824b274aa (diff)
downloadelgg-c667ce609dc3c1f9f071e39293f8c176d3e1c5dc.tar.gz
elgg-c667ce609dc3c1f9f071e39293f8c176d3e1c5dc.tar.bz2
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
Diffstat (limited to 'engine/lib/admin.php')
-rw-r--r--engine/lib/admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index d4ebbdd0d..3f4a331de 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -138,7 +138,7 @@ function elgg_add_admin_menu_item($section_id, $section_title, $parent_id = NULL
return elgg_register_menu_item('page', array(
'name' => $name,
'url' => $href,
- 'title' => $section_title,
+ 'text' => $section_title,
'context' => 'admin',
'parent_name' => $parent_id,
'weight' => $weight,
@@ -205,7 +205,7 @@ function admin_init() {
elgg_register_menu_item('page', array(
'name' => 'dashboard',
'url' => 'pg/admin/dashboard',
- 'title' => elgg_echo('admin:dashboard'),
+ 'text' => elgg_echo('admin:dashboard'),
'context' => 'admin',
'weight' => 10,
));