plugin_openid: fixed crappy html.
This commit is contained in:
parent
eafd30cc84
commit
b0619bf129
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue