$vars['entity'],
'size' => 'small',
)
);
$title = $vars['entity']->title;
if (!$title) $title = $vars['entity']->name;
if (!$title) $title = get_class($vars['entity']);
$controls = "";
if ($vars['entity']->canEdit())
{
$controls .= " (guid}\">" . elgg_echo('delete') . ")";
}
$info = "
";
if (get_input('search_viewtype') == "gallery") {
$icon = "";
}
$owner = $vars['entity']->getOwnerEntity();
$ownertxt = elgg_echo('unknown');
if ($owner)
$ownertxt = "getURL() . "\">" . $owner->name ."";
$info .= "".sprintf(elgg_echo("entity:default:strapline"),
friendly_time($vars['entity']->time_created),
$ownertxt
);
$info .= "
";
$info = "$info";
$icon = "$icon";
echo elgg_view_listing($icon, $info);
}