From eb76e462647e334c58890da50b9fc5897de93bd8 Mon Sep 17 00:00:00 2001 From: Eltrac Koalar Date: Mon, 13 Jul 2020 19:16:09 +0800 Subject: =?UTF-8?q?:poop:=20Fix:=20=E8=AF=84=E8=AE=BA=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=BC=BA=E5=A4=B1=20=20#comments=20id=20#70?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/comments.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/comments.php b/includes/comments.php index 78b6357..7439c90 100644 --- a/includes/comments.php +++ b/includes/comments.php @@ -54,7 +54,7 @@ echo $commentClass; comments()->to($comments); ?> fields->commentShow == 0)://如果显示评论列表 ?> have())://如果有评论 则显示 ?> -
+

commentsNum(_t('暂无评论'), _t('已有 1 条评论'), _t('已有 %d 条评论')); ?>

listComments(array( 'before' => '
', @@ -109,4 +109,4 @@ echo $commentClass;
options->commentsAntiSpam) { Comments::AntiSpam($this->respondId, Typecho_Common::shuffleScriptVar($this->security->getToken(preg_replace('/\??&?_pjax=[^&]+/i','',$this->request->getRequestUrl())))); } ?> \ No newline at end of file + if ($this->options->commentsAntiSpam) { Comments::AntiSpam($this->respondId, Typecho_Common::shuffleScriptVar($this->security->getToken(preg_replace('/\??&?_pjax=[^&]+/i','',$this->request->getRequestUrl())))); } ?> -- cgit v1.2.3