diff --git a/library/includes/torrent_show_dl_list.php b/library/includes/torrent_show_dl_list.php index a91f3f45..c55a459e 100644 --- a/library/includes/torrent_show_dl_list.php +++ b/library/includes/torrent_show_dl_list.php @@ -135,6 +135,11 @@ 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 c230c271..e0f9cd76 100644 --- a/styles/templates/default/viewtopic_torrent.tpl +++ b/styles/templates/default/viewtopic_torrent.tpl @@ -54,11 +54,9 @@ $(document).ready(function(){ -