From c08f72691da5f1af30c699e44536b7367a98ce1a Mon Sep 17 00:00:00 2001 From: ohmyga <40896676+ohmyga233@users.noreply.github.com> Date: Wed, 26 Feb 2020 23:23:01 +0800 Subject: =?UTF-8?q?=F0=9F=91=8D=20=E4=BD=BF=E8=AF=84=E8=AE=BA=E6=94=AF?= =?UTF-8?q?=E6=8C=81=20AJAX=20=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/comments.php | 8 ++++---- includes/footer.php | 1 + includes/head.php | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'includes') diff --git a/includes/comments.php b/includes/comments.php index cc53bc1..5bed2d5 100644 --- a/includes/comments.php +++ b/includes/comments.php @@ -9,7 +9,7 @@ } $commentLevelClass = $comments->_levels > 0 ? ' comment-child' : ' comment-parent'; //评论层数大于0为子级,否则是父级 ?> -
theId(); ?>" class="comment-body_levels > 0) { echo ' comment-child'; $comments->levelsAlt(' comment-level-odd', ' comment-level-even'); @@ -49,7 +49,7 @@ echo $commentClass; fields->commentShow == 0)://如果显示评论列表 ?> have())://如果有评论 则显示 ?>
-

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

+

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

listComments(array( 'before' => '
', 'after' => '
', @@ -69,7 +69,7 @@ echo $commentClass;
allow('comment')): ?> -
+
cancelReply(); ?>
@@ -95,7 +95,7 @@ echo $commentClass;

- +

diff --git a/includes/footer.php b/includes/footer.php index 6157c8b..265585c 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -33,6 +33,7 @@ beforePjax = function() {NProgress.start();}; afterPjax = function() {owoLoad();options->pjax_complete(); ?>}; +