diff --git a/comments.php b/comments.php index 302e579..07a7b19 100644 --- a/comments.php +++ b/comments.php @@ -1,68 +1,72 @@ -
- + +levels > 0) $commentClass .= ' ml-5'; + if ($comments->type == 'pingback' || $comments->type == 'traceback') $commentClass .= ' bg-secondary'; +?> - - comments()->to($comments); ?> - have()): ?> -

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

- listComments(); ?> - pageNav('« 前一页', '后一页 »'); ?> - - - comments('comment')->to($comments); ?> +
+
+ gravatar(64, '', '', 'avatar'); ?> +
+ author(); ?> + authorId == $comments->ownerId): ?> + + + status == 'waiting'): ?> + + +
+ date('F jS, Y'); ?> at date('h:i a'); ?> + reply('Reply'); ?> +
+
+

content(); ?>

+ children): $comments->threadedComments($options); endif; ?> +
+ + +
+ comments()->to($comments); ?> have()): ?>
- next()): ?> -
-

- gravatar(32, '', '', 'avatar'); ?> - author() ?> - date('F jS, Y'); ?> at date('h:i a'); ?> -

-

content() ?>

-
-
- + listComments(array('before'=>'','after'=>'')); ?> - - - allow('comment')): ?> + allow('comment')): ?> +
cancelReply(); ?>
-

-
- user->hasLogin()): ?> +

+ + user->hasLogin()): ?>

- user->screenName(); ?>; » + user->screenName(); ?> | »

-
+
-
+
options->commentsRequireMail): ?> required />
-
+
options->commentsRequireURL): ?> required />
- - - - - -
-
@@ -73,7 +77,5 @@
- -