From 52ab9c1909f39c8854e8235cddd351ef72505e91 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Thu, 30 Jul 2020 23:49:46 +0800 Subject: =?UTF-8?q?:fire:=20Del:=20=E7=A7=BB=E9=99=A4=E6=97=A7=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=89=80=E6=9C=89=E6=96=87=E4=BB=B6=EF=BC=8C=E5=87=86?= =?UTF-8?q?=E5=A4=87=202.0=20=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/comments.php | 112 -------------------------------------------------- 1 file changed, 112 deletions(-) delete mode 100644 includes/comments.php (limited to 'includes/comments.php') diff --git a/includes/comments.php b/includes/comments.php deleted file mode 100644 index 74cea9c..0000000 --- a/includes/comments.php +++ /dev/null @@ -1,112 +0,0 @@ -authorId) { - if ($comments->authorId == $comments->ownerId) { - $commentClass .= ' comment-by-author'; //如果是文章作者的评论添加 .comment-by-author 样式 - } else { - $commentClass .= ' comment-by-user'; //如果是评论作者的添加 .comment-by-user 样式 - } - } - $commentLevelClass = $comments->_levels > 0 ? ' comment-child' : ' comment-parent'; //评论层数大于0为子级,否则是父级 -?> - - - -
- comments()->to($comments); ?> - fields->commentShow == 0)://如果显示评论列表 ?> - have())://如果有评论 则显示 ?> -
-

commentsNum(_t(gt('commentListTexts','commentNumNone')), _t(gta('commentListTexts','commentNum','1')), _t(gta('commentListTexts','commentNum','%d'))); ?>

- listComments(array( - 'before' => '
', - 'after' => '
', - 'avatarSize' => 200, - 'dateFormat' => 'Y-m-d H:i' - )); ?> -
- pageNav('', ''); ?> -
-
- - - - allow('comment')): ?>
- - -
- - allow('comment')): ?> -
- -
- - user->hasLogin()): ?> - -

user->screenName(); ?>.

- - - -
- - options->commentsRequireMail): ?> required /> - options->commentsRequireURL): ?> required /> -
- - -

- -

-

-

-
cancelReply(); ?>
- -

-
-
- - -
- -
-
- options->commentsAntiSpam) { Comments::AntiSpam($this->respondId, Typecho_Common::shuffleScriptVar($this->security->getToken(preg_replace('/\??&?_pjax=[^&]+/i','',$this->request->getRequestUrl())))); } ?> -- cgit v1.2.3