aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 22:29:19 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 22:29:19 +0000
commit02d310ab9a84f1e994639d096708546318197b96 (patch)
tree01060ef8c843fd533fa2a223d0de795900e11521 /engine/lib/users.php
parenta1332ae971af685ceb2ca12610c69e92e81bfeff (diff)
downloadelgg-02d310ab9a84f1e994639d096708546318197b96.tar.gz
elgg-02d310ab9a84f1e994639d096708546318197b96.tar.bz2
Fixes #3031 using 'priority' now
git-svn-id: http://code.elgg.org/elgg/trunk@8545 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 99466bf73..0b620e578 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1506,7 +1506,7 @@ function users_pagesetup() {
'name' => 'profile',
'href' => $user->getURL(),
'text' => "<img src=\"{$user->getIconURL('topbar')}\" alt=\"$user->name\" />",
- 'weight' => 100,
+ 'priority' => 100,
));
elgg_register_menu_item('topbar', array(
@@ -1514,14 +1514,14 @@ function users_pagesetup() {
'href' => "pg/friends/{$user->username}",
'text' => elgg_view_icon('friends'),
'title' => elgg_echo('friends'),
- 'weight' => 300,
+ 'priority' => 300,
));
elgg_register_menu_item('topbar', array(
'name' => 'usersettings',
'href' => "pg/settings/user/{$user->username}",
'text' => elgg_view_icon('settings') . elgg_echo('settings'),
- 'weight' => 500,
+ 'priority' => 500,
'section' => 'alt',
));
@@ -1530,7 +1530,7 @@ function users_pagesetup() {
'href' => "action/logout",
'text' => elgg_echo('logout'),
'is_action' => TRUE,
- 'weight' => 1000,
+ 'priority' => 1000,
'section' => 'alt',
));