Browse Source

change description

main
ghost 1 year ago
parent
commit
c9887fc601
  1. 2
      README.md
  2. 2
      src/public/edit.php
  3. 6
      src/public/index.php
  4. 2
      src/public/magnet.php

2
README.md

@ -1,6 +1,6 @@
# YGGtracker # YGGtracker
BitTorrent Catalog for Yggdrasil ecosystem BitTorrent Registry for Yggdrasil
YGGtracker uses [Yggdrasil](https://github.com/yggdrasil-network/yggdrasil-go) IPv6 addresses to identify users without registration. YGGtracker uses [Yggdrasil](https://github.com/yggdrasil-network/yggdrasil-go) IPv6 addresses to identify users without registration.

2
src/public/edit.php

@ -602,7 +602,7 @@ else {
<title> <title>
<?php echo sprintf(_('Edit - %s'), WEBSITE_NAME) ?> <?php echo sprintf(_('Edit - %s'), WEBSITE_NAME) ?>
</title> </title>
<meta name="description" content="<?php echo _('BitTorrent Catalog for Yggdrasil') ?>" /> <meta name="description" content="<?php echo _('BitTorrent Registry for Yggdrasil') ?>" />
<meta name="keywords" content="yggdrasil, yggverse, yggtracker, bittorrent, magnet, catalog" /> <meta name="keywords" content="yggdrasil, yggverse, yggtracker, bittorrent, magnet, catalog" />
<meta name="author" content="YGGtracker" /> <meta name="author" content="YGGtracker" />
<meta charset="UTF-8" /> <meta charset="UTF-8" />

6
src/public/index.php

@ -164,7 +164,7 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
<channel> <channel>
<atom:link href="<?php echo WEBSITE_URL ?>/index.php<?php echo $request->query ? sprintf('?query=%s', urlencode($request->query)) : false ?>" rel="self" type="application/rss+xml"></atom:link> <atom:link href="<?php echo WEBSITE_URL ?>/index.php<?php echo $request->query ? sprintf('?query=%s', urlencode($request->query)) : false ?>" rel="self" type="application/rss+xml"></atom:link>
<title><?php echo WEBSITE_NAME ?></title> <title><?php echo WEBSITE_NAME ?></title>
<description><?php echo _('BitTorrent Catalog for Yggdrasil') ?></description> <description><?php echo _('BitTorrent Registry for Yggdrasil') ?></description>
<link><?php echo sprintf('%s/index.php%s', WEBSITE_URL, $request->query ? sprintf('?query=%s', urlencode($request->query)) : false) ?></link> <link><?php echo sprintf('%s/index.php%s', WEBSITE_URL, $request->query ? sprintf('?query=%s', urlencode($request->query)) : false) ?></link>
<?php foreach ($response->magnets as $magnet) { ?> <?php foreach ($response->magnets as $magnet) { ?>
<?php if ($magnet->access->read) { ?> <?php if ($magnet->access->read) { ?>
@ -185,9 +185,9 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
<link rel="stylesheet" type="text/css" href="<?php echo WEBSITE_URL ?>/assets/theme/default/css/common.css?<?php echo WEBSITE_CSS_VERSION ?>" /> <link rel="stylesheet" type="text/css" href="<?php echo WEBSITE_URL ?>/assets/theme/default/css/common.css?<?php echo WEBSITE_CSS_VERSION ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo WEBSITE_URL ?>/assets/theme/default/css/framework.css?<?php echo WEBSITE_CSS_VERSION ?>" /> <link rel="stylesheet" type="text/css" href="<?php echo WEBSITE_URL ?>/assets/theme/default/css/framework.css?<?php echo WEBSITE_CSS_VERSION ?>" />
<title> <title>
<?php echo sprintf(_('%s - BitTorrent Catalog for Yggdrasil'), WEBSITE_NAME) ?> <?php echo sprintf(_('%s - BitTorrent Registry for Yggdrasil'), WEBSITE_NAME) ?>
</title> </title>
<meta name="description" content="<?php echo _('BitTorrent Catalog for Yggdrasil') ?>" /> <meta name="description" content="<?php echo _('BitTorrent Registry for Yggdrasil') ?>" />
<meta name="keywords" content="yggdrasil, yggverse, yggtracker, bittorrent, magnet, catalog" /> <meta name="keywords" content="yggdrasil, yggverse, yggtracker, bittorrent, magnet, catalog" />
<meta name="author" content="YGGtracker" /> <meta name="author" content="YGGtracker" />
<meta charset="UTF-8" /> <meta charset="UTF-8" />

2
src/public/magnet.php

@ -145,7 +145,7 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
<atom:link href="<?php echo sprintf('%s/magnet.php?magnetId=%s#comment', WEBSITE_URL, $response->magnet->magnetId) ?>" rel="self" type="application/rss+xml"></atom:link> <atom:link href="<?php echo sprintf('%s/magnet.php?magnetId=%s#comment', WEBSITE_URL, $response->magnet->magnetId) ?>" rel="self" type="application/rss+xml"></atom:link>
<link><?php echo sprintf('%s/magnet.php?magnetId=%s#comment', WEBSITE_URL, $response->magnet->magnetId) ?></link> <link><?php echo sprintf('%s/magnet.php?magnetId=%s#comment', WEBSITE_URL, $response->magnet->magnetId) ?></link>
<title><?php echo sprintf(_('%s - Comments - %s'), htmlentities($response->magnet->metaTitle), WEBSITE_NAME) ?></title> <title><?php echo sprintf(_('%s - Comments - %s'), htmlentities($response->magnet->metaTitle), WEBSITE_NAME) ?></title>
<description><?php echo _('BitTorrent Catalog for Yggdrasil') ?></description> <description><?php echo _('BitTorrent Registry for Yggdrasil') ?></description>
<?php foreach ($db->getMagnetComments($response->magnet->magnetId) as $magnetComment) { ?> <?php foreach ($db->getMagnetComments($response->magnet->magnetId) as $magnetComment) { ?>
<?php if ($response->user->address == $db->getUser($magnetComment->userId)->address || in_array($response->user->address, MODERATOR_IP_LIST)) { ?> <?php if ($response->user->address == $db->getUser($magnetComment->userId)->address || in_array($response->user->address, MODERATOR_IP_LIST)) { ?>
<item> <item>

Loading…
Cancel
Save