From c674916153165e9a6a8acf063048663e7a5c1d6f Mon Sep 17 00:00:00 2001 From: Eltrac <45323514+BigCoke233@users.noreply.github.com> Date: Wed, 17 Jul 2019 16:12:35 +0800 Subject: Add files via upload --- includes/comments.php | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) (limited to 'includes/comments.php') diff --git a/includes/comments.php b/includes/comments.php index 303349c..449b67a 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'); @@ -21,38 +21,43 @@ echo $commentClass; ?>">
    -
    +
    gravatar('100', ''); ?>
    -
    -

    author(); ?>

    -

    date('Y-m-d H:i'); ?>

    -
    +
    +
    + reply(''); ?> content(); ?> -

    - reply(); ?> -

    +

    + author(); ?> + date('Y-m-d H:i'); ?> +

    children) { ?> -
    - threadedComments($options); ?> -
    +
    + threadedComments($options); ?> +
    -
  • +
    comments()->to($comments); ?>

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

    have()): ?> -
    - listComments(); ?> +
    + listComments(array( + 'before' => '
    ', + 'after' => '
    ', + 'avatarSize' => 200, + 'dateFormat' => 'Y-m-d H:i' + )); ?> +
    +
    pageNav('', ''); ?>
    -- cgit v1.2.3