array(), 'class' => 'avatar-tabs' ); $tabs = array('acquire', 'upload', 'url'); foreach ($tabs as $tab) { $options['tabs'][] = array( 'text' => elgg_echo("webcam:tab:$tab"), 'id' => "avatar-$tab-tab", 'selected' => $selected_tab == $tab, 'href' => '#' ); } $tab_nav = elgg_view('navigation/tabs', $options); echo $tab_nav; ?>

'guid', 'value' => $vars['entity']->guid)); echo elgg_view('input/submit', array( 'value' => elgg_echo('upload'), 'id' => 'avatar-upload' )); ?>