Find:
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo '
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
<form id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<div class="info">', sprintf($txt['welcome_guest'], $txt['guest_title']), '</div>
<input type="text" name="user" size="17" class="input_text" />
<input type="password" name="passwrd" size="17" class="input_password" />
<input type="submit" value="', $txt['login'], '" class="button_submit" />';
if (!empty($modSettings['enableOpenID']))
echo '
<br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />';
echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';
}
Replace with:
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo '
<form id="guest_form">
<div class="info">', sprintf($txt['welcome_guest'], $txt['guest_title']), '</div>
</form>';
}