$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 = "

getUrl() . "\">" . $title . " $controls

"; if (get_input('search_viewtype') == "gallery") { $icon = ""; } $owner = $vars['entity']->getOwnerEntity(); $ownertxt = elgg_echo('unknown'); if ($owner) $ownertxt = "getURL() . "\">" . $owner->name .""; $time_created = $vars['entity']->time_created; $info .= "
" . date("d.m.Y",$time_created) . "
"; /*$info .= "
".sprintf(elgg_echo("entity:default:strapline"), friendly_time($vars['entity']->time_created), $ownertxt ); $info .= "
";*/ echo elgg_view_listing($icon, $info); }