remove comments public status changing #1

This commit is contained in:
ghost 2023-09-14 20:42:03 +03:00
parent 26d2a06b9a
commit 7c054557f3
2 changed files with 0 additions and 86 deletions

View file

@ -397,14 +397,6 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
</span>
<?php } ?>
<small>
<a class="float-right margin-l-12"
href="<?php echo WEBSITE_URL ?>/action.php?target=comment&toggle=public&magnetCommentId=<?php echo $magnetComment->magnetCommentId ?>&callback=<?php echo base64_encode(sprintf('%s/magnet.php?magnetId=%s#comment-%s', WEBSITE_URL, $magnetComment->magnetId, $magnetComment->magnetCommentId)) ?>">
<?php if ($magnetComment->public) { ?>
<?php echo _('hide') ?>
<?php } else { ?>
<?php echo _('show') ?>
<?php } ?>
</a>
<?php if (in_array($response->user->address, MODERATOR_IP_LIST)) { ?>
<a class="float-right margin-l-12"
href="<?php echo WEBSITE_URL ?>/action.php?target=comment&toggle=approved&magnetCommentId=<?php echo $magnetComment->magnetCommentId ?>&callback=<?php echo base64_encode(sprintf('%s/magnet.php?magnetId=%s#comment-%s', WEBSITE_URL, $magnetComment->magnetId, $magnetComment->magnetCommentId)) ?>">