diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-24 01:27:47 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-24 01:27:47 +0000 |
commit | c667ce609dc3c1f9f071e39293f8c176d3e1c5dc (patch) | |
tree | 1ec44df08297b396809af545dcf9568ba7c27aff /mod | |
parent | 64547b21f0e0cb4efc55212a5a6ae92824b274aa (diff) | |
download | elgg-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')
-rw-r--r-- | mod/bookmarks/start.php | 2 | ||||
-rw-r--r-- | mod/developers/start.php | 2 | ||||
-rw-r--r-- | mod/file/views/default/file/typecloud.php | 4 | ||||
-rw-r--r-- | mod/invitefriends/start.php | 2 | ||||
-rw-r--r-- | mod/messages/start.php | 4 | ||||
-rw-r--r-- | mod/notifications/start.php | 4 | ||||
-rw-r--r-- | mod/pages/lib/pages.php | 4 |
7 files changed, 11 insertions, 11 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php index a80cda857..9f8179823 100644 --- a/mod/bookmarks/start.php +++ b/mod/bookmarks/start.php @@ -25,7 +25,7 @@ function bookmarks_init() { // menus elgg_register_menu_item('site', array( 'name' => 'bookmarks', - 'title' => elgg_echo('bookmarks'), + 'text' => elgg_echo('bookmarks'), 'url' => 'pg/bookmarks/all' )); diff --git a/mod/developers/start.php b/mod/developers/start.php index 9e1d02361..f9527cd44 100644 --- a/mod/developers/start.php +++ b/mod/developers/start.php @@ -47,7 +47,7 @@ function developers_theme_preview_controller($page) { foreach ($pages as $page_name) { elgg_register_menu_item('page', array( 'name' => $page_name, - 'title' => elgg_echo("theme_preview:$page_name"), + 'text' => elgg_echo("theme_preview:$page_name"), 'url' => "pg/theme_preview/$page_name", )); } diff --git a/mod/file/views/default/file/typecloud.php b/mod/file/views/default/file/typecloud.php index 0552f7e8e..6d329d831 100644 --- a/mod/file/views/default/file/typecloud.php +++ b/mod/file/views/default/file/typecloud.php @@ -37,14 +37,14 @@ $all = new stdClass; $all->tag = "all"; elgg_register_menu_item('page', array( 'name' => 'file:all', - 'title' => elgg_echo('all'), + 'text' => elgg_echo('all'), 'url' => file_type_cloud_get_url($all, $friends), )); foreach ($types as $type) { elgg_register_menu_item('page', array( 'name' => "file:$type->tag", - 'title' => elgg_echo("file:type:$type->tag"), + 'text' => elgg_echo("file:type:$type->tag"), 'url' => file_type_cloud_get_url($type, $friends), )); } diff --git a/mod/invitefriends/start.php b/mod/invitefriends/start.php index e05a2e128..9ab602d37 100644 --- a/mod/invitefriends/start.php +++ b/mod/invitefriends/start.php @@ -14,7 +14,7 @@ function invitefriends_init() { $params = array( 'name' => 'invite', - 'title' => elgg_echo('friends:invite'), + 'text' => elgg_echo('friends:invite'), 'url' => "pg/invite/", 'contexts' => array('friends'), ); diff --git a/mod/messages/start.php b/mod/messages/start.php index 9868cce49..b7194d03b 100644 --- a/mod/messages/start.php +++ b/mod/messages/start.php @@ -18,13 +18,13 @@ function messages_init() { if (elgg_is_logged_in()) { elgg_register_menu_item('page', array( 'name' => 'messages:inbox', - 'title' => elgg_echo('messages:inbox'), + 'text' => elgg_echo('messages:inbox'), 'url' => "pg/messages/inbox/" . elgg_get_logged_in_user_entity()->username, 'context' => 'messages', )); elgg_register_menu_item('page', array( 'name' => 'messages:sentmessages', - 'title' => elgg_echo('messages:sentmessages'), + 'text' => elgg_echo('messages:sentmessages'), 'url' => "pg/messages/sent/" . elgg_get_logged_in_user_entity()->username, 'context' => 'messages', )); diff --git a/mod/notifications/start.php b/mod/notifications/start.php index 1c12dbf63..13a21c420 100644 --- a/mod/notifications/start.php +++ b/mod/notifications/start.php @@ -69,7 +69,7 @@ function notifications_plugin_pagesetup() { $params = array( 'name' => '2_a_user_notify', - 'title' => elgg_echo('notifications:subscriptions:changesettings'), + 'text' => elgg_echo('notifications:subscriptions:changesettings'), 'url' => "pg/notifications/personal", ); elgg_register_menu_item('page', $params); @@ -77,7 +77,7 @@ function notifications_plugin_pagesetup() { if (elgg_is_active_plugin('groups')) { $params = array( 'name' => '2_group_notify', - 'title' => elgg_echo('notifications:subscriptions:changesettings:groups'), + 'text' => elgg_echo('notifications:subscriptions:changesettings:groups'), 'url' => "pg/notifications/group", ); elgg_register_menu_item('page', $params); 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(), )); |