From 4901b642cd90a9124a4ca5732210707caa030290 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Fri, 10 Jul 2020 22:58:49 +0800 Subject: =?UTF-8?q?:zap:=20Perf:=20=E5=85=BC=E5=AE=B9=20typecho=20?= =?UTF-8?q?=E8=87=AA=E5=B8=A6=E5=8F=8D=E5=9E=83=E5=9C=BE=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=EF=BC=8C=E5=B9=B6=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/comments.php | 19 +++++++++---------- includes/footer.php | 4 ++-- includes/head.php | 4 ++-- includes/header.php | 4 ++-- 4 files changed, 15 insertions(+), 16 deletions(-) (limited to 'includes') diff --git a/includes/comments.php b/includes/comments.php index 1b5ace5..b414021 100644 --- a/includes/comments.php +++ b/includes/comments.php @@ -28,7 +28,7 @@ echo $commentClass; reply(''); ?> - coid); echo Contents::parseEmo($comments->content); ?> + coid); echo Contents::parseEmo($comments->content); ?>

author; ?> @@ -63,8 +63,8 @@ echo $commentClass; 'dateFormat' => 'Y-m-d H:i' )); ?>

- pageNav('', ''); ?> -
+ pageNav('', ''); ?> + @@ -103,11 +103,10 @@ echo $commentClass; - -
- - - + +
+ - - \ No newline at end of file + + options->commentsAntiSpam) { Comments::AntiSpam($this); } ?> \ No newline at end of file diff --git a/includes/footer.php b/includes/footer.php index 64f8c7c..e9e0c08 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -24,7 +24,7 @@ options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif; - generate_require($js_files,"js",$this->options->CDN,$custom); + Utils::addRequires($js_files,"js",$this->options->CDN,$custom); ?>