diff options
Diffstat (limited to 'mod/profile/views/default')
-rw-r--r-- | mod/profile/views/default/profile/topbar_extend.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mod/profile/views/default/profile/topbar_extend.php b/mod/profile/views/default/profile/topbar_extend.php new file mode 100644 index 000000000..c1c4e13bb --- /dev/null +++ b/mod/profile/views/default/profile/topbar_extend.php @@ -0,0 +1,11 @@ +<?php +/** + * + */ + +$user = get_loggedin_user(); + +if (($user instanceof ElggUser) && ($user->guid > 0)) { + $friends = elgg_echo('friends'); + echo "<a class='myfriends' href=\"{$vars['url']}pg/friends/{$user->username}\" title=\"$friends\">$friends</a>"; +} |