mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r327
к r326 git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@327 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
15fc6a7ecf
commit
225883d185
5 changed files with 6 additions and 7 deletions
|
@ -211,7 +211,7 @@ if ($tor_reged && $tor_info)
|
|||
'DOWNLOAD_NAME' => $display_name,
|
||||
'TRACKER_LINK' => $tracker_link,
|
||||
'ATTACH_ID' => $attach_id,
|
||||
'TOR_FROZEN' => isset($bb_cfg['tor_frozen'][$tor_info['tor_status']]),
|
||||
'TOR_FROZEN' => (!IS_AM) ? isset($bb_cfg['tor_frozen'][$tor_info['tor_status']]) : '',
|
||||
'TOR_SILVER_GOLD' => $tor_type,
|
||||
|
||||
// torrent status mod
|
||||
|
|
|
@ -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'] = 'R326';
|
||||
$bb_cfg['tp_release_date'] = '20-11-2011';
|
||||
$bb_cfg['tp_release_state'] = 'R327';
|
||||
$bb_cfg['tp_release_date'] = '21-11-2011';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
@ -411,7 +411,7 @@ $bb_cfg['show_poster_joined'] = true;
|
|||
$bb_cfg['show_poster_posts'] = true;
|
||||
$bb_cfg['show_poster_from'] = true;
|
||||
$bb_cfg['show_bot_nick'] = false;
|
||||
$bb_cfg['text_buttons'] = false; // replace EDIT, QUOTE... images with text links
|
||||
$bb_cfg['text_buttons'] = true; // replace EDIT, QUOTE... images with text links
|
||||
$bb_cfg['parse_ed2k_links'] = true; // make ed2k links clickable
|
||||
$bb_cfg['post_date_format'] = 'd-M-Y H:i';
|
||||
$bb_cfg['ext_link_new_win'] = true; // open external links in new window
|
||||
|
|
|
@ -305,7 +305,6 @@ $bb_cfg['tor_icons'] = array(
|
|||
);
|
||||
|
||||
// Запрет на скачивание
|
||||
if (!IS_AM)
|
||||
$bb_cfg['tor_frozen'] = array(
|
||||
TOR_CHECKING => true,
|
||||
TOR_CLOSED => true,
|
||||
|
|
|
@ -769,7 +769,7 @@ if ($allowed_forums)
|
|||
'MAGNET' => $tor_magnet,
|
||||
'TOR_TYPE' => $is_gold,
|
||||
|
||||
'TOR_FROZEN' => isset($bb_cfg['tor_frozen'][$tor['tor_status']]),
|
||||
'TOR_FROZEN' => (!IS_AM) ? isset($bb_cfg['tor_frozen'][$tor['tor_status']]) : '',
|
||||
'TOR_STATUS_ICON' => $bb_cfg['tor_icons'][$tor['tor_status']],
|
||||
'TOR_STATUS_TEXT' => $lang['TOR_STATUS_NAME'][$tor['tor_status']],
|
||||
|
||||
|
|
|
@ -505,7 +505,7 @@ foreach ($topic_rowset as $topic)
|
|||
'REPLIES' => $replies,
|
||||
'VIEWS' => $topic['topic_views'],
|
||||
'TOR_STALED' => ($forum_data['allow_reg_tracker'] && !($t_type == POST_ANNOUNCE || $t_type == POST_STICKY || $topic['tor_size'])),
|
||||
'TOR_FROZEN' => isset($topic['tor_status']) ? isset($bb_cfg['tor_frozen'][$topic['tor_status']]) : '',
|
||||
'TOR_FROZEN' => isset($topic['tor_status']) ? ((!IS_AM) ? isset($bb_cfg['tor_frozen'][$topic['tor_status']]) : '') : '',
|
||||
'TOR_TYPE' => $is_gold,
|
||||
|
||||
'TOR_STATUS_ICON' => isset($topic['tor_status']) ? $bb_cfg['tor_icons'][$topic['tor_status']] : '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue