mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
implement node info page
This commit is contained in:
parent
96a03ec4ec
commit
f0c8bd968d
9 changed files with 414 additions and 12 deletions
|
|
@ -170,7 +170,7 @@ else
|
|||
'metaTitle' => $magnet->metaTitle ? htmlentities($magnet->metaTitle) : ($magnet->dn ? htmlentities($magnet->dn): false),
|
||||
'metaDescription' => $magnet->metaDescription ? nl2br(
|
||||
htmlentities(
|
||||
substr($magnet->metaDescription, 0, WEBSITE_MAGNET_SHORT_META_DESCRIPTION_LENGTH)
|
||||
substr($magnet->metaDescription, 0, MAGNET_META_DESCRIPTION_LENGTH_SHORT)
|
||||
)
|
||||
) : false,
|
||||
'approved' => (bool) $magnet->approved,
|
||||
|
|
@ -452,6 +452,8 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
|
|||
<a href="<?php echo $value->stats ?>"><?php echo _('Stats') ?></a>
|
||||
|
|
||||
<?php } ?>
|
||||
<a href="<?php echo WEBSITE_URL ?>/info.php"><?php echo _('Info') ?></a>
|
||||
|
|
||||
<a href="<?php echo WEBSITE_URL ?>/index.php?rss<?php echo $request->query ? sprintf('&query=%s', urlencode($request->query)) : false ?>"><?php echo _('RSS') ?></a>
|
||||
|
|
||||
<a href="https://github.com/YGGverse/YGGtracker"><?php echo _('GitHub') ?></a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue