mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Generate .torrent file names based on topic titles (#958)
This commit is contained in:
parent
8e218f5d69
commit
e2bf40bd64
3 changed files with 10 additions and 4 deletions
|
@ -88,7 +88,7 @@ if ($tor_auth_reg || $tor_auth_del) {
|
|||
$tracker_link = ($tor_reged) ? $unreg_tor_url : $reg_tor_url;
|
||||
}
|
||||
|
||||
$display_name = '[' . $bb_cfg['server_name'] . '].t' . $bt_topic_id . '.torrent';
|
||||
$display_name = wbr($t_data['topic_title']) . ' [' . $bb_cfg['server_name'] . '-' . $bt_topic_id . ']' . '.torrent';
|
||||
|
||||
if (!$tor_reged) {
|
||||
$template->assign_block_vars('postrow.attach.tor_not_reged', [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue