<?php /** * Elgg profile icon * * @deprecated 1.8 use elgg_view_entity_icon() * * @uses $vars['entity'] The user entity. If none specified, the current user is assumed. * @uses $vars['size'] The size - small, medium or large. If none specified, medium is assumed. * @uses $vars['override'] * @uses $vars['js'] */ $override = elgg_get_array_value('override', $vars, false); $vars['hover'] = !$override; echo elgg_view('icon/user/default', $vars);