aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-02 12:16:33 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-02 12:16:33 +0000
commit8f484535ba505b12d2d4ccdaf30686c375035108 (patch)
treefc8e38c03a0a4f1e800d1d16bd2300050f68da7b /engine/lib
parentf096b91267d0deaeec911939fbdd54177e9f1995 (diff)
downloadelgg-8f484535ba505b12d2d4ccdaf30686c375035108.tar.gz
elgg-8f484535ba505b12d2d4ccdaf30686c375035108.tar.bz2
Fixes #3006 restores previous dividers
git-svn-id: http://code.elgg.org/elgg/trunk@8569 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/users.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 0b620e578..318cd71bd 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1502,10 +1502,11 @@ function users_pagesetup() {
'contexts' => array('profile_edit'),
));
+ $icon_url = $user->getIconURL('topbar');
elgg_register_menu_item('topbar', array(
'name' => 'profile',
'href' => $user->getURL(),
- 'text' => "<img src=\"{$user->getIconURL('topbar')}\" alt=\"$user->name\" />",
+ 'text' => "<img src=\"$icon_url\" alt=\"$user->name\" class=\"elgg-border-plain\" />",
'priority' => 100,
));