diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-04 02:13:10 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-04 02:13:10 +0000 |
commit | 64a0e05c9249dc9e23964452419963fcdbdc0ca2 (patch) | |
tree | 8b8d12c1d25b26e49626ad45c1a3c49c9be45cba /engine/lib/users.php | |
parent | beaf9b1016b94285fe08165ba2fbd6b1b059c9bf (diff) | |
download | elgg-64a0e05c9249dc9e23964452419963fcdbdc0ca2.tar.gz elgg-64a0e05c9249dc9e23964452419963fcdbdc0ca2.tar.bz2 |
Refs #3108 fixed widgets for main site (not admin) and tweaked topbar
git-svn-id: http://code.elgg.org/elgg/trunk@8933 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r-- | engine/lib/users.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index 30497a440..243334e2a 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1461,10 +1461,12 @@ function users_pagesetup() { )); $icon_url = $user->getIconURL('topbar'); + $class = 'elgg-border-plain elgg-transition'; + $title = elgg_echo('profile'); elgg_register_menu_item('topbar', array( 'name' => 'profile', 'href' => $user->getURL(), - 'text' => "<img src=\"$icon_url\" alt=\"$user->name\" class=\"elgg-border-plain\" />", + 'text' => "<img src=\"$icon_url\" alt=\"$user->name\" title=\"$title\" class=\"$class\" />", 'priority' => 100, )); |