diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-25 22:11:38 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-25 22:11:38 +0000 |
commit | 754f98d1859398928160b4a7a589e439589fab82 (patch) | |
tree | 4710cb9377698085d989b03abff28a08a69d5f8d /engine/lib/users.php | |
parent | 119017304ba7669c6596ccb3f6020959e0d629fd (diff) | |
download | elgg-754f98d1859398928160b4a7a589e439589fab82.tar.gz elgg-754f98d1859398928160b4a7a589e439589fab82.tar.bz2 |
Refs #2895: Converted topbar to one menu (felt dirty using two). Fixed styles.
git-svn-id: http://code.elgg.org/elgg/trunk@8476 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r-- | engine/lib/users.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index c12f8d00d..fd68ef276 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1537,19 +1537,21 @@ function users_init() { 'weight' => 300, )); - elgg_register_menu_item('topbar_alt', array( + elgg_register_menu_item('topbar', array( 'name' => 'usersettings', 'href' => "pg/settings/user/{$user->username}", 'text' => elgg_view_icon('settings') . elgg_echo('settings'), - 'weight' => 500 + 'weight' => 500, + 'section' => 'alt', )); - elgg_register_menu_item('topbar_alt', array( + elgg_register_menu_item('topbar', array( 'name' => 'logout', 'href' => "action/logout", 'text' => elgg_echo('logout'), 'is_action' => TRUE, 'weight' => 1000, + 'section' => 'alt', )); } |