diff --git a/lang/cht/lang_settings.php b/lang/cht/lang_settings.php index 9f08e286..e50e42ef 100644 --- a/lang/cht/lang_settings.php +++ b/lang/cht/lang_settings.php @@ -816,6 +816,8 @@ $lang_settings = array 'text_use_challenge_response_authentication_note' => '如果啟用,登錄時將不傳輸明文密碼,建議啟用。未來版本會刪除此配置且啟用此功能。', 'row_complain_enabled' => '啟用申訴', 'row_complain_enabled_note' => '默認: "yes"', + 'row_record_announce_logs' => '記錄匯報日誌', + 'text_record_announce_logs_note' => '要啓用,請先安裝並啓動 ClickHouse,並在 .env 文件中添加配置', 'row_min_size' => '起步體積', 'text_bonus_mini_size' => '要求種子的體積最小爲', 'text_bonus_mini_size_help' => '。小於此體積的種子不參與魔力計算。單位:字節(Byte),如 1 Byte = 1024 KiB。', diff --git a/lang/en/lang_settings.php b/lang/en/lang_settings.php index f228ad82..f6b4e405 100644 --- a/lang/en/lang_settings.php +++ b/lang/en/lang_settings.php @@ -816,6 +816,8 @@ $lang_settings = array 'text_use_challenge_response_authentication_note' => 'If enabled, no plaintext passwords will be transmitted at login, recommended. Future releases will remove this configuration and enable this feature.' , 'row_complain_enabled' => 'Whether to enable complaints', 'row_complain_enabled_note' => 'default: "yes"', + 'row_record_announce_logs' => 'Record reporting logs', + 'text_record_announce_logs_note' => 'To enable it, first install and start ClickHouse and add the configuration in the .env file', 'row_min_size' => 'Minimum volume', 'text_bonus_mini_size'=> 'The minimum volume required for torrent is', 'text_bonus_mini_size_help' => '. Torrent size smaller than this volume are not included in the bonus calculation. Unit: bytes (Byte), e.g., 1 Byte = 1024 KiB.', diff --git a/public/adredir.php b/public/adredir.php index 2554c721..8ab41e20 100644 --- a/public/adredir.php +++ b/public/adredir.php @@ -2,6 +2,9 @@ require "../include/bittorrent.php"; dbconn(); require_once(get_langfile_path()); +loggedinorreturn(); +parked(); + if ($enablead_advertisement != 'yes') stderr($lang_adredir['std_error'], $lang_adredir['std_ad_system_disabled']); $id=$_GET['id'] ?? 0; diff --git a/resources/lang/en/user-modify-log.php b/resources/lang/en/user-modify-log.php new file mode 100644 index 00000000..d11ea4db --- /dev/null +++ b/resources/lang/en/user-modify-log.php @@ -0,0 +1,5 @@ + 'Modified content', +]; diff --git a/resources/lang/zh_TW/user-modify-log.php b/resources/lang/zh_TW/user-modify-log.php new file mode 100644 index 00000000..e18ed3f2 --- /dev/null +++ b/resources/lang/zh_TW/user-modify-log.php @@ -0,0 +1,5 @@ + '修改內容', +];