name, ENT_QUOTES, 'UTF-8', false); $username = $user->username; $icontime = $user->icontime; if (!$icontime) { $icontime = "default"; } $js = elgg_extract('js', $vars, ''); $hover = elgg_extract('hover', $vars, true); if (isset($vars['override'])) { elgg_deprecated_notice("Use 'hover' rather than 'override' with user avatars", 1.8, 5); $hover = false; } $spacer_url = elgg_get_site_url() . '_graphics/spacer.gif'; $icon_url = $user->getIconURL($size); $icon = "\"$name\""; $show_menu = $hover && (elgg_is_admin_logged_in() || !$user->isBanned()); ?>
$user, 'username' => $username, 'name' => $name, ); echo elgg_view_icon('hover-menu'); echo elgg_view_menu('user_hover', $params); } echo elgg_view('output/url', array( 'href' => $user->getURL(), 'text' => $icon, 'is_trusted' => true, )); ?>