diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-07-15 11:58:01 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-07-15 11:58:01 +0800 |
| commit | 00646ca95266c8b37ab56453e972fbb81c8aa927 (patch) | |
| tree | eeeea8a7735a208b74d4b80effd6411b95e5b95e /includes/header.php | |
| parent | e96581380a2ab52a3fc9708ddbff61bade1f2288 (diff) | |
:pizza: Perf: 页面/文章评论列表隐藏时,不显示评论数;更新日志
Diffstat (limited to 'includes/header.php')
| -rw-r--r-- | includes/header.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/header.php b/includes/header.php index 2497966..fc5c6ec 100644 --- a/includes/header.php +++ b/includes/header.php @@ -144,7 +144,7 @@ if($_SESSION["isPageArchive"]!=true){ ?> <div class="header-meta-line-one"> <?php if($this->is('post')): ?><span class="hint--bottom" data-tooltip="<?php gtaecho('postTexts','sort_title',$this->category) ?>"><i class="iconfont"></i> <?php $this->category(','); ?></span> <?php endif; ?> - <span class="hint--bottom" data-tooltip="<?php if($this->commentsNum=='0'): gtecho('commentListTexts', 'commentNumNone'); else:gtaecho('commentListTexts', 'commentNum', $this->commentsNum);endif; ?>"><i class="iconfont"></i> <?php $this->commentsNum('0', '1', '%d'); ?></span>  + <?php if($this->fields->commentShow=='0'):?><span class="hint--bottom" data-tooltip="<?php if($this->commentsNum=='0'): gtecho('commentListTexts', 'commentNumNone'); else:gtaecho('commentListTexts', 'commentNum', $this->commentsNum);endif; ?>"><i class="iconfont"></i> <?php $this->commentsNum('0', '1', '%d'); ?></span> <?php endif;?> </div> <div class="header-meta-line-two"> <span class="hint--bottom" data-tooltip="<?php gtaecho('postTexts', 'post_time', date('Y-m-d',$this->created)); ?>"><i class="iconfont"></i> <?php $this->date(); ?></span>  |
