Minor improvements (#812)

* Minor improvements

* fix

* fix

* Update viewtopic_attach.tpl

* Revert "Maked max post length configurable (#793)"

This reverts commit fd42eae329.

* Update config.php

* fix
This commit is contained in:
Roman Kelesidis 2023-06-21 14:03:19 +07:00 committed by GitHub
commit 41664685ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 39 additions and 37 deletions

View file

@ -194,6 +194,7 @@ if ($tor_reged && $tor_info) {
'TRACKER_LINK' => $tracker_link,
'ATTACH_ID' => $attach_id,
'TOR_SILVER_GOLD' => $tor_type,
'TOR_TYPE' => is_gold($tor_type),
// torrent status mod
'TOR_FROZEN' => (!IS_AM) ? (isset($bb_cfg['tor_frozen'][$tor_info['tor_status']]) && !(isset($bb_cfg['tor_frozen_author_download'][$tor_info['tor_status']]) && $userdata['user_id'] == $tor_info['poster_id'])) ? true : '' : '',