diff --git a/upload/attach_mod/displaying_torrent.php b/upload/attach_mod/displaying_torrent.php index 553482447..a04f93a46 100644 --- a/upload/attach_mod/displaying_torrent.php +++ b/upload/attach_mod/displaying_torrent.php @@ -132,8 +132,6 @@ if ($tor_auth) { $template->assign_vars(array( 'TOR_CONTROLS' => true, - 'TOR_ACTION' => "torrent.php", - 'TOR_STATUS' => "torstatus.php", 'TOR_ATTACH_ID' => $attach_id, )); @@ -213,7 +211,7 @@ if ($tor_reged && $tor_info) 'DOWNLOAD_NAME' => $display_name, 'TRACKER_LINK' => $tracker_link, 'ATTACH_ID' => $attach_id, - 'TOR_FROZEN' => ($tor_info['tor_status'] == TOR_STATUS_FROZEN || $tor_info['tor_status'] == 3 || $tor_info['tor_status'] == 4 || $tor_info['tor_status'] == 7), + 'TOR_FROZEN' => isset($bb_cfg['tor_frozen'][$tor_info['tor_status']]), 'TOR_SILVER_GOLD' => $tor_type, // torrent status mod diff --git a/upload/config.php b/upload/config.php index c71da5c44..0b4f86308 100644 --- a/upload/config.php +++ b/upload/config.php @@ -53,8 +53,8 @@ $bb_cfg = $tr_cfg = $page_cfg = array(); // Increase number of revision after update $bb_cfg['tp_version'] = '2.2 Beta'; -$bb_cfg['tp_release_state'] = 'R303'; -$bb_cfg['tp_release_date'] = '03-11-2011'; +$bb_cfg['tp_release_state'] = 'R304'; +$bb_cfg['tp_release_date'] = '05-11-2011'; // Database $charset = 'utf8';