评论显示修复

This commit is contained in:
Skywt2003 2021-12-02 21:38:41 +08:00
parent 2048fb5723
commit 2398998eb7
2 changed files with 3 additions and 3 deletions

View File

@ -80,8 +80,8 @@
<h2 id="response">添加新评论</h2>
<form method="post" action="<?php $this->commentUrl(); ?>" id="comment-form" role="form">
<?php if ($this->user->hasLogin()): ?>
<p>登录身份:?>
<a href="<?php $this->options->profileUrl(); ?>"><?php $this->user->screenName(); ?></a> | <a href="<?php $this->options->logoutUrl(); ?>" title="Logout">退出 &raquo;</a>
<p>登录身份:
<a href="<?php $this->options->profileUrl(); ?>"><?php $this->user->screenName(); ?></a> | <a href="<?php $this->options->logoutUrl(); ?>" title="Logout">退出 &raquo;</a>
</p>
<?php else: ?>
<div class="form-group">

View File

@ -222,5 +222,5 @@ function showUserAgent($ua) {
$Browser = get_browser_name($ua);
$BrowserImg = getUAImg("browser/", $Browser['code'], $Browser['title']);
echo "&nbsp;&nbsp;" . $OsImg . "&nbsp;&nbsp;" . $BrowserImg;
echo "&nbsp;" . $OsImg . "&nbsp;" . $BrowserImg;
}