" . 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 .= $CONFIG->allow_registration ? "$register | " : ''; $form_body .= "$lost_password"; $form_body .= '
'; $login_url = elgg_get_site_url(); if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) { $login_url = str_replace("http", "https", elgg_get_site_url()); } ?> $form_body, 'action' => "{$login_url}action/login")); echo elgg_view('login/extend'); // view for plugins to extend ?> allow_registration) { $title = elgg_echo('register'); $body = elgg_view("account/forms/register", array( 'friend_guid' => (int) get_input('friend_guid', 0), 'invitecode' => get_input('invitecode'), )); echo <<<__HTML" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "
"; ?>