aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/lib
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 /mod/pages/lib
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 'mod/pages/lib')
-rw-r--r--mod/pages/lib/pages.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/pages/lib/pages.php b/mod/pages/lib/pages.php
index 72aad2aed..c9a1b27b6 100644
--- a/mod/pages/lib/pages.php
+++ b/mod/pages/lib/pages.php
@@ -80,7 +80,7 @@ function pages_register_navigation_tree($container) {
foreach ($top_pages as $page) {
elgg_register_menu_item('pages_nav', array(
'name' => $page->getGUID(),
- 'title' => $page->title,
+ 'text' => $page->title,
'url' => $page->getURL(),
));
@@ -98,7 +98,7 @@ function pages_register_navigation_tree($container) {
foreach ($children as $child) {
elgg_register_menu_item('pages_nav', array(
'name' => $child->getGUID(),
- 'title' => $child->title,
+ 'text' => $child->title,
'url' => $child->getURL(),
'parent_name' => $parent->getGUID(),
));