mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Use different file listing url parameters for effective indexing by search engines (#1156)
This commit is contained in:
parent
8f5efa2fa8
commit
5849738f0b
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ if ($bb_cfg['bt_disable_dht'] && IS_GUEST) {
|
||||||
die($lang['BT_PRIVATE_TRACKER']);
|
die($lang['BT_PRIVATE_TRACKER']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$topic_id = !empty($_GET['t']) ? (int)$_GET['t'] : (http_response_code(404) && die($lang['INVALID_TOPIC_ID']));
|
$topic_id = !empty($_GET['topic']) ? (int)$_GET['topic'] : (http_response_code(404) && die($lang['INVALID_TOPIC_ID']));
|
||||||
|
|
||||||
$sql = 'SELECT t.attach_id, t.info_hash_v2, ad.physical_filename
|
$sql = 'SELECT t.attach_id, t.info_hash_v2, ad.physical_filename
|
||||||
FROM ' . BB_BT_TORRENTS . ' t
|
FROM ' . BB_BT_TORRENTS . ' t
|
||||||
|
|
|
@ -169,7 +169,7 @@
|
||||||
<p class="small">{postrow.attach.tor_reged.FILESIZE}</p>
|
<p class="small">{postrow.attach.tor_reged.FILESIZE}</p>
|
||||||
<p style="padding-top: 6px;"><input id="tor-filelist-btn" type="button" class="lite" value="{L_FILELIST}" /></p>
|
<p style="padding-top: 6px;"><input id="tor-filelist-btn" type="button" class="lite" value="{L_FILELIST}" /></p>
|
||||||
<!-- IF postrow.attach.tor_reged.HASH_V2 -->
|
<!-- IF postrow.attach.tor_reged.HASH_V2 -->
|
||||||
<p><a href="{FULL_URL}viewtopic.php?filelist&t={TOPIC_ID}" title = "File hashes | Detailed .torrent meta info" target="_blank">...</a></p>
|
<p><a href="{FULL_URL}viewtopic.php?filelist&topic={TOPIC_ID}" title = "File hashes | Detailed .torrent meta info" target="_blank">...</a></p>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue