From 733722e7d4c35652a06ee29fec24a13e261e1355 Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Fri, 16 Jan 2026 11:26:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=A7=84=E8=8C=83=E5=8C=96=20PHP?= =?UTF-8?q?=20=E6=A8=A1=E6=9D=BF=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - header.php: 修复箭头操作符空格, 移除多余空行 (1520 -> 1481 行) - footer.php: 修复箭头操作符空格, 移除多余空行 (177 -> 168 行) - sidebar.php: 修复箭头操作符空格, 移除多余空行 (1311 -> 1288 行) - single.php: 修复箭头操作符空格, 移除多余空行 (214 -> 196 行) - comments.php: 修复箭头操作符空格 - search.php: 修复箭头操作符空格 --- comments.php | 10 +++---- footer.php | 15 ++-------- header.php | 79 +++++++++++++--------------------------------------- search.php | 4 +-- sidebar.php | 71 ++++++++++++++++------------------------------ single.php | 44 +++++++++-------------------- 6 files changed, 66 insertions(+), 157 deletions(-) diff --git a/comments.php b/comments.php index c6779eb..6237122 100644 --- a/comments.php +++ b/comments.php @@ -364,7 +364,7 @@ function resetGeetestCaptcha() {
- + @@ -374,7 +374,7 @@ function resetGeetestCaptcha() {
- + @@ -383,16 +383,14 @@ function resetGeetestCaptcha() { - -
+
- -
+
diff --git a/footer.php b/footer.php index 975cddb..0b5513b 100644 --- a/footer.php +++ b/footer.php @@ -29,8 +29,7 @@
- - + @@ -149,17 +148,13 @@ - - - + - - -
+ @@ -167,10 +162,6 @@ - - - - diff --git a/header.php b/header.php index f1355b2..9e730b4 100644 --- a/header.php +++ b/header.php @@ -196,9 +196,7 @@ - - - - - - - - - + @@ -242,21 +236,13 @@ - - - - - + + - - - - - - + @@ -293,8 +279,7 @@ - - - - - - + @@ -565,9 +548,7 @@ } - - - function toggleAmoledDarkMode(){ +function toggleAmoledDarkMode(){ document.documentElement.classList.toggle("amoled-dark"); @@ -605,9 +586,7 @@ - - - + @@ -627,12 +606,8 @@ - - - - - - > @@ -882,17 +855,17 @@ if ($animation_style == 'apple') { if ($depth == 0){ - if ($args -> walker -> has_children == 1){ + if ($args->walker->has_children == 1){ $output .= "\n