mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-09-12 06:12:08 +00:00
hide comments indicator on disabled
This commit is contained in:
parent
1d29f0f9f1
commit
ac7d496075
@ -317,6 +317,7 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
|
||||
</a>
|
||||
<sup><?php echo $magnet->star->total ?></sup>
|
||||
</span>
|
||||
<?php if ($magnet->comments) { ?>
|
||||
<span class="float-right margin-l-12">
|
||||
<a rel="nofollow" href="<?php echo WEBSITE_URL ?>/magnet.php?magnetId=<?php echo $magnet->magnetId ?>#comment" title="<?php echo _('Comment') ?>">
|
||||
<?php if ($magnet->comment->status) { ?>
|
||||
@ -331,6 +332,7 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
|
||||
</a>
|
||||
<sup><?php echo $magnet->comment->total ?></sup>
|
||||
</span>
|
||||
<?php } ?>
|
||||
<span class="float-right margin-l-12">
|
||||
<a rel="nofollow" href="<?php echo WEBSITE_URL ?>/download.php?magnetId=<?php echo $magnet->magnetId ?>" title="<?php echo _('Download') ?>">
|
||||
<?php if ($magnet->download->status) { ?>
|
||||
|
@ -315,8 +315,9 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
|
||||
</a>
|
||||
<sup><?php echo $response->magnet->star->total ?></sup>
|
||||
</span>
|
||||
<?php if ($response->magnet->comments) { ?>
|
||||
<span class="float-right margin-l-12">
|
||||
<a rel="nofollow" href="<?php echo WEBSITE_URL ?>/magnet.php?magnetId=<?php echo $response->magnet->magnetId ?>#comment" title="<?php echo _('Comment') ?>">
|
||||
<a rel="nofollow" href="<?php echo WEBSITE_URL ?>/magnet.php?magnetId=<?php echo $magnet->magnetId ?>#comment" title="<?php echo _('Comment') ?>">
|
||||
<?php if ($response->magnet->comment->status) { ?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chat-fill" viewBox="0 0 16 16">
|
||||
<path d="M8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6-.097 1.016-.417 2.13-.771 2.966-.079.186.074.394.273.362 2.256-.37 3.597-.938 4.18-1.234A9.06 9.06 0 0 0 8 15z"/>
|
||||
@ -329,6 +330,7 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
|
||||
</a>
|
||||
<sup><?php echo $response->magnet->comment->total ?></sup>
|
||||
</span>
|
||||
<?php } ?>
|
||||
<span class="float-right margin-l-12">
|
||||
<a rel="nofollow" href="<?php echo WEBSITE_URL ?>/download.php?magnetId=<?php echo $response->magnet->magnetId ?>" title="<?php echo _('Download') ?>">
|
||||
<?php if ($response->magnet->download->status) { ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user