getGUID() . ".jpg", $vars['entity']->getOwner())) { $icon = '
'; $icon .= "getGUID() . ".jpg", $vars["entity"]->getOwner())."\" />"; $icon .= '
'; } else { $icon = elgg_view( 'graphics/icon', array( 'entity' => $vars['entity'], 'size' => 'small', ) ); } $title = $vars['entity']->title; if (!$title) $title = $vars['entity']->name; if (!$title) $title = get_class($vars['entity']); $info = "

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

"; if (get_context() == "calendar") { $time_created = $vars['entity']->beginning_date; } else { $time_created = $vars['entity']->time_created; } $info .= "
" . date("d.m.Y",$time_created) . "
"; $info .= "
" . elgg_view('output/text', array('value' => $vars['entity']->brief_description)) . "
"; if ($vars['entity']->approved == 0) { /*translation:This object has not been reviewed yet.*/ $info .= "
". elgg_echo("koolielu:object_not_reviewed_yet") ."
"; } else if ($vars['entity']->archived == 1) { /*translation:This object has been archived.*/ $info .= "
". elgg_echo("koolielu:object_archived") ."
"; } if (get_input('search_viewtype') == "gallery") { $icon = ""; } $owner = $vars['entity']->getOwnerEntity(); $ownertxt = elgg_echo('unknown'); if ($owner) $ownertxt = "getURL() . "\">" . $owner->name .""; /*translation:Created %s*/ /*$info .= "
".sprintf(elgg_echo("koolielu:creatingtime"), friendly_time($vars['entity']->time_created) ); $info .= "
";*/ echo elgg_view_listing($icon, $info); }