From e87ce2b01853659e8847f95f660435a628cff5ba Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 27 Jan 2024 22:27:41 +0700 Subject: [PATCH] Updated --- library/includes/torrent_show_dl_list.php | 4 ++-- styles/templates/default/viewtopic_torrent.tpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/includes/torrent_show_dl_list.php b/library/includes/torrent_show_dl_list.php index dc12c4db..1cd49b2b 100644 --- a/library/includes/torrent_show_dl_list.php +++ b/library/includes/torrent_show_dl_list.php @@ -92,7 +92,7 @@ if ($show_dl_list) $template->assign_block_vars('dl_users.users_row', array( 'DL_OPTION_NAME' => $lang[strtoupper($desc)], 'DL_OPTION_USERS' => $dl_cat[$i], - 'DL_COUNT' => $dl_count[$i], + 'DL_COUNT' => declension((int)$dl_count[$i], 'times'), 'DL_USERS_DIV_STYLE' => $dl_users_div_style, )); } @@ -104,7 +104,7 @@ if ($show_dl_list) } $template->assign_block_vars('dl_counts.count_row', array( 'DL_OPTION_NAME' => $lang[strtoupper($desc)], - 'DL_OPTION_USERS' => $dl_count[$i], + 'DL_OPTION_USERS' => declension((int)$dl_count[$i], 'times'), )); } } diff --git a/styles/templates/default/viewtopic_torrent.tpl b/styles/templates/default/viewtopic_torrent.tpl index 00172652..bdb51da2 100644 --- a/styles/templates/default/viewtopic_torrent.tpl +++ b/styles/templates/default/viewtopic_torrent.tpl @@ -20,7 +20,7 @@ $(document).ready(function(){ - {dl_users.users_row.DL_OPTION_NAME} + {dl_users.users_row.DL_OPTION_NAME}
{dl_users.users_row.DL_OPTION_USERS}