getGUID() != get_loggedin_userid()) {
// Add / Remove friend link
$friendlinks = elgg_view('profile/menu/friendlinks',$vars);
if (!empty($friendlinks)) {
echo "
{$friendlinks}
";
}
// view for plugins to extend
echo elgg_view('profile/menu/links',$vars);
} else {
// if looking at your own avatar menu - provide a couple of handy links
?>