|
|
@ -311,7 +311,14 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<?php } ?> |
|
|
|
<?php } ?> |
|
|
|
<span class="float-right margin-l-12"> |
|
|
|
<span class="float-right margin-l-12"> |
|
|
|
<a rel="nofollow" href="<?php echo WEBSITE_URL ?>/action.php?target=magnet&toggle=star&magnetId=<?php echo $magnet->magnetId ?>&callback=<?php echo base64_encode(sprintf('%s/magnet.php?magnetId=%s', WEBSITE_URL, $magnet->magnetId)) ?>" title="<?php echo _('Star') ?>"> |
|
|
|
<a rel="nofollow" href="<?php echo sprintf('%s/action.php?target=magnet&toggle=star&magnetId=%s&callback=%s', |
|
|
|
|
|
|
|
WEBSITE_URL, |
|
|
|
|
|
|
|
$magnet->magnetId, |
|
|
|
|
|
|
|
base64_encode(sprintf('%s/index.php?%s#magnet-%s', |
|
|
|
|
|
|
|
WEBSITE_URL, |
|
|
|
|
|
|
|
($request->query ? sprintf('&query=%s', urlencode($request->query)) : false). |
|
|
|
|
|
|
|
($request->page ? sprintf('&page=%s', urlencode($request->page)) : false), |
|
|
|
|
|
|
|
$magnet->magnetId))) ?>" title="<?php echo _('Star') ?>"> |
|
|
|
<?php if ($magnet->star->status) { ?> |
|
|
|
<?php if ($magnet->star->status) { ?> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16"> |
|
|
|
<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/> |
|
|
|
<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/> |
|
|
|