admin) && ($vars['show_admin'])) $admin_option = true; $form_body = "


"; $form_body .= "
"; $form_body .= "
"; $form_body .= "
"; $form_body .= "
"; if ($admin_option) $form_body .= elgg_view('input/checkboxes', array('internalname' => "admin", 'options' => array(elgg_echo('admin_option')))); $form_body .= elgg_view('input/hidden', array('internalname' => 'action', 'value' => 'register')); $form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "

"; ?>

"{$vars['url']}action/register", 'body' => $form_body)) ?>