is_flagged($entity->uid) || user_access('administer users')) {
if($link && !preg_match('/^http/', $link)) $link = 'http://' . $link;
if($name && $link) {
return "
$name$desc
";
} elseif($name) {
return "$name
$desc
";
} elseif($link) {
return "
$link$desc
";
}
} elseif($name || $link) {
return "
Project link will be visible after this account is approved.";
}
?>