username;
if($page_owner) {
//if the user is looking at their own stuff, don't display the name
if($_SESSION['user']->getGUID() == $page_owner_user->guid){
$info = "
Your " . $vars['title'] . "
";
}else{
$info = "" . $user_name . "'s " . $vars['title'] . "
";
}
$icon = elgg_view("profile/icon",array('entity' => $page_owner_user, 'size' => 'small'));
echo elgg_view_listing($icon, $info);
} else {
$info = "" . $vars['title'] . "
"; //""
echo elgg_view_listing($icon, $info);
}
?>