" . elgg_echo('username') . "
" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login_textarea username')) . "";
$form_body .= "
";
$form_body .= "
";
$form_body .= elgg_view('input/hidden', array('internalname' => 'returntoreferer', 'value' => 'true'));
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('login')));
$form_body .= "
";
$form_body .= "" . elgg_echo('user:password:lost') . "
";
$login_url = $vars['url'];
if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) {
$login_url = str_replace("http", "https", $vars['url']);
}
?>
$form_body, 'action' => "{$login_url}action/login"));
echo elgg_view('login/extend'); // view for plugins to extend
?>