From ac7d4960757f59f4262c5738d034d2e42c17ae2e Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 19 Sep 2023 19:01:16 +0300 Subject: [PATCH] hide comments indicator on disabled --- src/public/index.php | 30 ++++++++++++++++-------------- src/public/magnet.php | 30 ++++++++++++++++-------------- 2 files changed, 32 insertions(+), 28 deletions(-) diff --git a/src/public/index.php b/src/public/index.php index 5be25ee..4e33bad 100644 --- a/src/public/index.php +++ b/src/public/index.php @@ -317,20 +317,22 @@ echo '' . PHP_EOL ?> star->total ?> - - - comment->status) { ?> - - - - - - - - - - comment->total ?> - + comments) { ?> + + + comment->status) { ?> + + + + + + + + + + comment->total ?> + + download->status) { ?> diff --git a/src/public/magnet.php b/src/public/magnet.php index 701765e..2c3f1e0 100644 --- a/src/public/magnet.php +++ b/src/public/magnet.php @@ -315,20 +315,22 @@ echo '' . PHP_EOL ?> magnet->star->total ?> - - - magnet->comment->status) { ?> - - - - - - - - - - magnet->comment->total ?> - + magnet->comments) { ?> + + + magnet->comment->status) { ?> + + + + + + + + + + magnet->comment->total ?> + + magnet->download->status) { ?>