num_display;
//if no number has been set, default to 5
if (!$number)
$number = 5;
$owner = page_owner_entity();
$owner_albums = get_entities("object", "album", page_owner(), "", $number, 0, false);
if ($owner_albums) {
echo '";
} else {
echo '' . elgg_echo("album:none") . '
';
if (get_loggedin_userid() == page_owner()) {
echo 'username.'>'.elgg_echo("album:create").'
';
}
}
?>