plugin_openid: fixed crappy html.

This commit is contained in:
Grischa Brockhaus 2012-03-24 16:12:55 +01:00
parent eafd30cc84
commit b0619bf129
2 changed files with 3 additions and 3 deletions

View file

@ -248,7 +248,7 @@ class serendipity_common_openid {
foreach($hidden AS $key => $val) {
$form .= '<input type="hidden" name="serendipity[' . $key . ']" value="' . htmlspecialchars($val) . '" />' . "\n";
}
$form .= "<center>\n".' <img src="' . $imgpath . '" alt="OpenID"> <input type="text" size="40" name="serendipity[openid_url]" value="" placeholder="' . PLUGIN_OPENID_LOGIN_INPUT . '"/>'."\n".
$form .= '<img src="' . $imgpath . '" alt="OpenID"> <input type="text" size="40" name="serendipity[openid_url]" value="" placeholder="' . PLUGIN_OPENID_LOGIN_INPUT . '"/>'."\n".
'<input type="submit" name="openIDLogin" value="Login" /></form>';
return $form;
}

View file

@ -114,9 +114,9 @@ class serendipity_event_openid extends serendipity_event
case 'backend_login_page':
$hidden = array('action'=>'admin');
$eventData['header'] .= '<div align="center"><p><br/>'.
$eventData['header'] .= '<br/><div align="center">'.
serendipity_common_openid::loginform('serendipity_admin.php', $hidden, NULL).
'</p><br /></div>';
'</div>';
break;
case 'backend_login':