$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()) { $delete = elgg_view('output/confirm_link', array( 'href' => "{$vars['url']}action/entities/delete?guid={$vars['entity']->guid}", 'text' => elgg_echo('delete') ); $controls .= " ($delete)"; } $info = "
getUrl() . "\">" . $title . " $controls