From 6289c793942e98511ae09fcf86903e081f102b59 Mon Sep 17 00:00:00 2001 From: Skywt2003 Date: Mon, 2 Aug 2021 23:24:17 +0800 Subject: [PATCH] Comment area design --- comments.php | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/comments.php b/comments.php index 3dde8ec..302e579 100644 --- a/comments.php +++ b/comments.php @@ -3,16 +3,30 @@ - comments()->to($comments); ?> + comments()->to($comments); ?> + have()): ?> +

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

+ listComments(); ?> + pageNav('« 前一页', '后一页 »'); ?> + + + comments('comment')->to($comments); ?> have()): ?> -

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

- - listComments(); ?> - - pageNav('« 前一页', '后一页 »'); ?> - +
+ next()): ?> +
+

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

+

content() ?>

+
+
+ + allow('comment')): ?> @@ -20,7 +34,6 @@
cancelReply(); ?>
-

user->hasLogin()): ?> @@ -28,17 +41,16 @@ user->screenName(); ?>; »

-
- +
- options->commentsRequireMail): ?> required /> + options->commentsRequireMail): ?> required />
- options->commentsRequireURL): ?> required /> + options->commentsRequireURL): ?> required />
@@ -47,7 +59,7 @@
@@ -55,9 +67,8 @@
-
- +