diff options
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, )); |