This commit is contained in:
Roman Kelesidis 2024-01-23 23:17:06 +07:00
parent 11f833d571
commit c676636b04
3 changed files with 6 additions and 5 deletions

View File

@ -4,6 +4,7 @@ if (!defined('IN_FORUM')) die(basename(__FILE__));
global $bb_cfg, $t_data, $poster_id, $is_auth, $dl_link_css, $dl_status_css, $lang, $images; global $bb_cfg, $t_data, $poster_id, $is_auth, $dl_link_css, $dl_status_css, $lang, $images;
$show_completed_count = false;
$tor_status_by_for_all = true; $tor_status_by_for_all = true;
$change_peers_bgr_over = true; $change_peers_bgr_over = true;
$bgr_class_1 = 'row1'; $bgr_class_1 = 'row1';
@ -236,7 +237,7 @@ if ($tor_reged && $tor_info)
'REGED_TIME' => bb_date($tor_info['reg_time']), 'REGED_TIME' => bb_date($tor_info['reg_time']),
'REGED_DELTA' => delta_time($tor_info['reg_time']), 'REGED_DELTA' => delta_time($tor_info['reg_time']),
'TORRENT_SIZE' => humn_size($tor_size), 'TORRENT_SIZE' => humn_size($tor_size),
'COMPLETED' => declension((int)$tor_info['complete_count'], 'times'), 'COMPLETED' => $show_completed_count ? declension((int)$tor_info['complete_count'], 'times') : false,
)); ));
if ($comment) if ($comment)
@ -253,7 +254,7 @@ if ($tor_reged && $tor_info)
'TOR_SIZE' => humn_size($tor_size), 'TOR_SIZE' => humn_size($tor_size),
'TOR_LONGEVITY' => delta_time($tor_info['reg_time']), 'TOR_LONGEVITY' => delta_time($tor_info['reg_time']),
'TOR_COMPLETED' => declension((int)$tor_info['complete_count'], 'times'), 'TOR_COMPLETED' => $show_completed_count ? declension((int)$tor_info['complete_count'], 'times') : false,
'TOR_DOWNLOAD_COUNT' => declension((int)$download_count, 'times'), 'TOR_DOWNLOAD_COUNT' => declension((int)$download_count, 'times'),
)); ));
} }

View File

@ -221,7 +221,7 @@
</tr> </tr>
<tr class="row1"> <tr class="row1">
<td>{L_DOWNLOADED}:</td> <td>{L_DOWNLOADED}:</td>
<td><span title="{L_DOWNLOADED}: {postrow.attach.tor_reged.DOWNLOAD_COUNT}">{postrow.attach.tor_reged.DOWNLOAD_COUNT}</span>&nbsp;<span title="{L_COMPLETED}: {postrow.attach.tor_reged.COMPLETED}" class="signature">({L_COMPLETED}: {postrow.attach.tor_reged.COMPLETED})</span></td> <td><span title="{L_DOWNLOADED}: {postrow.attach.tor_reged.DOWNLOAD_COUNT}">{postrow.attach.tor_reged.DOWNLOAD_COUNT}</span><!-- IF postrow.attach.tor_reged.COMPLETED -->&nbsp;<span title="{L_COMPLETED}: {postrow.attach.tor_reged.COMPLETED}" class="signature">({L_COMPLETED}: {postrow.attach.tor_reged.COMPLETED})</span><!-- ENDIF --></td>
</tr> </tr>
<tr class="row1"> <tr class="row1">
<td>{L_SIZE}:</td> <td>{L_SIZE}:</td>

View File

@ -46,8 +46,8 @@ $(document).ready(function(){
<td colspan="2" class="borderless bCenter pad_8"> <td colspan="2" class="borderless bCenter pad_8">
{L_SIZE}:&nbsp;<b>{TOR_SIZE}</b>&nbsp;&nbsp;|&nbsp; {L_SIZE}:&nbsp;<b>{TOR_SIZE}</b>&nbsp;&nbsp;|&nbsp;
{L_IS_REGISTERED}:&nbsp;<b>{TOR_LONGEVITY}</b>&nbsp;&nbsp;|&nbsp; {L_IS_REGISTERED}:&nbsp;<b>{TOR_LONGEVITY}</b>&nbsp;&nbsp;|&nbsp;
{L_DOWNLOADED}:&nbsp;<b title="{L_DOWNLOADED}: {TOR_DOWNLOAD_COUNT}">{TOR_DOWNLOAD_COUNT}</b>&nbsp;&nbsp;|&nbsp; {L_DOWNLOADED}:&nbsp;<b title="{L_DOWNLOADED}: {TOR_DOWNLOAD_COUNT}">{TOR_DOWNLOAD_COUNT}</b><!-- IF TOR_COMPLETED -->&nbsp;&nbsp;|&nbsp;
{L_COMPLETED}:&nbsp;<b title="{L_COMPLETED}: {TOR_COMPLETED}">{TOR_COMPLETED}</b> {L_COMPLETED}:&nbsp;<b title="{L_COMPLETED}: {TOR_COMPLETED}">{TOR_COMPLETED}</b><!-- ENDIF -->
</td> </td>
</tr> </tr>
<!-- ENDIF / SHOW_DL_LIST_TOR_INFO --> <!-- ENDIF / SHOW_DL_LIST_TOR_INFO -->