фикс запрета на скачивание в топике git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@304 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
pherum83 2011-11-05 08:23:14 +00:00
commit 2061d247ed
2 changed files with 3 additions and 5 deletions

View file

@ -132,8 +132,6 @@ if ($tor_auth)
{ {
$template->assign_vars(array( $template->assign_vars(array(
'TOR_CONTROLS' => true, 'TOR_CONTROLS' => true,
'TOR_ACTION' => "torrent.php",
'TOR_STATUS' => "torstatus.php",
'TOR_ATTACH_ID' => $attach_id, 'TOR_ATTACH_ID' => $attach_id,
)); ));
@ -213,7 +211,7 @@ if ($tor_reged && $tor_info)
'DOWNLOAD_NAME' => $display_name, 'DOWNLOAD_NAME' => $display_name,
'TRACKER_LINK' => $tracker_link, 'TRACKER_LINK' => $tracker_link,
'ATTACH_ID' => $attach_id, '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, 'TOR_SILVER_GOLD' => $tor_type,
// torrent status mod // torrent status mod

View file

@ -53,8 +53,8 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
// Increase number of revision after update // Increase number of revision after update
$bb_cfg['tp_version'] = '2.2 Beta'; $bb_cfg['tp_version'] = '2.2 Beta';
$bb_cfg['tp_release_state'] = 'R303'; $bb_cfg['tp_release_state'] = 'R304';
$bb_cfg['tp_release_date'] = '03-11-2011'; $bb_cfg['tp_release_date'] = '05-11-2011';
// Database // Database
$charset = 'utf8'; $charset = 'utf8';