From 169eb1749db7a9088411f8d2996c77d098a77e84 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sun, 28 Jan 2024 11:14:53 +0700 Subject: [PATCH] Revert "Updated" This reverts commit 733c83c1b34da796b5d98d24eff6907358563dff. --- library/includes/torrent_show_dl_list.php | 5 ----- styles/templates/default/viewtopic_torrent.tpl | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/library/includes/torrent_show_dl_list.php b/library/includes/torrent_show_dl_list.php index c55a459e..a91f3f45 100644 --- a/library/includes/torrent_show_dl_list.php +++ b/library/includes/torrent_show_dl_list.php @@ -135,11 +135,6 @@ if ($show_dl_list) { $template->assign_block_vars('dl_list_none', array()); } - // Выводим число скачавших - elseif ($dl_list_none_completed && $dl_completed_count != 0) - { - $template->assign_vars(array('DL_COMPLETE_COUNT' => $dl_completed_count)); - } $template->assign_vars(array('HIDE_DL_COUNT_EMPTY' => (bool)($count_mode && $dl_count_mode_cnt == 0))); } elseif ($bb_cfg['bt_show_dl_list_buttons'] && $have_dl_buttons_enabled) diff --git a/styles/templates/default/viewtopic_torrent.tpl b/styles/templates/default/viewtopic_torrent.tpl index e0f9cd76..c230c271 100644 --- a/styles/templates/default/viewtopic_torrent.tpl +++ b/styles/templates/default/viewtopic_torrent.tpl @@ -54,9 +54,11 @@ $(document).ready(function(){ + - {L_SHOW_DL_LIST}: {DL_COMPLETE_COUNT}{L_NONE} + {L_SHOW_DL_LIST}: {L_NONE} +