aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 21:28:28 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 21:28:28 +0000
commit119017304ba7669c6596ccb3f6020959e0d629fd (patch)
treefad750ec8fbec6fe2abb794cf159f88674a0f42d /engine
parent9b89225ec25b131117e7ef0a7befc80a25f3e0e9 (diff)
downloadelgg-119017304ba7669c6596ccb3f6020959e0d629fd.tar.gz
elgg-119017304ba7669c6596ccb3f6020959e0d629fd.tar.bz2
Refs #2895: Messages now uses new topbar menu
git-svn-id: http://code.elgg.org/elgg/trunk@8475 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/users.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index cf50c7ae2..c12f8d00d 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1526,6 +1526,7 @@ function users_init() {
'name' => 'profile',
'href' => $user->getURL(),
'text' => "<img src=\"{$user->getIconURL('topbar')}\" alt=\"$user->name\" />",
+ 'weight' => 100,
));
elgg_register_menu_item('topbar', array(
@@ -1533,6 +1534,7 @@ function users_init() {
'href' => "pg/friends/{$user->username}",
'text' => elgg_view_icon('friends'),
'title' => elgg_echo('friends'),
+ 'weight' => 300,
));
elgg_register_menu_item('topbar_alt', array(