* @copyright Curverider Ltd 2008-2010 * @link http://elgg.org/ */ $owner = $vars['entity']->getOwnerEntity(); $friendlytime = friendly_time($vars['entity']->time_created); if (get_context() == "search") { if (get_input('search_viewtype') == "gallery") { $parsed_url = parse_url($vars['entity']->address); $faviconurl = $parsed_url['scheme'] . "://" . $parsed_url['host'] . "/favicon.ico"; $info = "
". elgg_echo("bookmarks:shared") .": getURL()}\">{$vars['entity']->title} (address}\">".elgg_echo('bookmarks:visit').")
"; $info .= "By: username}\">{$owner->name}
"; $numcomments = elgg_count_comments($vars['entity']); if ($numcomments) $info .= "getURL()}\">".sprintf(elgg_echo("comments")). " (" . $numcomments . ")
"; //display echo "". elgg_echo("bookmarks:shared") .": getURL()}\">{$vars['entity']->title} (address}\">".elgg_echo('bookmarks:visit').")
"; $info .= " "; echo elgg_view_listing($icon, $info); } } else { ?>