$vars['entity']->getIconUrl('medium'), 'alt' => elgg_echo('avatar'), )); $current_label = elgg_echo('avatar:current'); $form_params = array('enctype' => 'multipart/form-data'); $upload_form = elgg_view_form('avatar/upload', $form_params, $vars); ?>