isAdmin()) && ($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/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "
";
?>
"{$vars['url']}action/useradd", 'body' => $form_body)) ?>